/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	/* Color Palette - Sophisticated Syndicate Theme */
	--primary-dark: #0a0a0a;
	--secondary-dark: #1a1a1a;
	--tertiary-dark: #2a2a2a;
	--accent-gold: #d4af37;
	--accent-gold-hover: #b8941f;
	--accent-silver: #c0c0c0;
	--text-primary: #ffffff;
	--text-secondary: #b0b0b0;
	--text-muted: #808080;
	--border-subtle: #333333;
	--gradient-primary: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
	--gradient-gold: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
	--shadow-dark: rgba(0, 0, 0, 0.5);
	--shadow-gold: rgba(212, 175, 55, 0.3);

	/* Typography */
	--font-primary: 'Inter', sans-serif;
	--font-accent: 'Crimson Text', serif;

	/* Spacing */
	--section-padding: 5rem 0;
	--container-max-width: 1200px;
	--border-radius: 12px;
	--border-radius-large: 20px;

	/* Transitions */
	--transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
	font-family: var(--font-primary);
	background: var(--primary-dark);
	color: var(--text-primary);
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 2rem;
}

/* Navigation */
.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(10, 10, 10, 0.95);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border-subtle);
	z-index: 1000;
	transition: var(--transition-smooth);
}

.nav-container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

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

.logo-img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
	transition: var(--transition-smooth);
}

.logo-img:hover {
	transform: scale(1.05);
	filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.4));
}

.logo-text {
	font-family: var(--font-accent);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--accent-gold);
	letter-spacing: -0.02em;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 2rem;
	align-items: center;
}

.nav-link {
	text-decoration: none;
	color: var(--text-secondary);
	font-weight: 500;
	transition: var(--transition-smooth);
	position: relative;
}

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

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient-gold);
	transition: var(--transition-smooth);
}

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

.cta-btn {
	background: var(--gradient-gold);
	color: var(--primary-dark) !important;
	padding: 0.75rem 1.5rem;
	border-radius: var(--border-radius);
	font-weight: 600;
	transition: var(--transition-smooth);
}

.cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px var(--shadow-gold);
}

.cta-btn::after {
	display: none;
}

.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.bar {
	width: 25px;
	height: 3px;
	background: var(--text-primary);
	margin: 3px 0;
	transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	background: var(--gradient-primary);
	overflow: hidden;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.floating-particles {
	position: absolute;
	width: 100%;
	height: 100%;
	background: radial-gradient(
			circle at 20% 80%,
			rgba(212, 175, 55, 0.1) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 20%,
			rgba(212, 175, 55, 0.05) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 40% 40%,
			rgba(255, 255, 255, 0.02) 0%,
			transparent 50%
		);
}

.hero-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	position: relative;
	z-index: 1;
	padding-top: 80px;
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding-left: 2rem;
	padding-right: 2rem;
}

.hero-title {
	font-family: var(--font-accent);
	font-size: 3.5rem;
	line-height: 1.1;
	margin-bottom: 1.5rem;
	display: flex;
	flex-direction: column;
}

.title-main {
	color: var(--text-primary);
	font-weight: 400;
}

.title-sub {
	color: var(--text-secondary);
	font-weight: 400;
	font-size: 0.8em;
}

.title-emphasis {
	background: var(--gradient-gold);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 600;
	margin-top: 0.5rem;
}

.hero-description {
	font-size: 1.25rem;
	color: var(--text-secondary);
	margin-bottom: 2.5rem;
	line-height: 1.7;
}

.hero-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	padding: 1rem 2rem;
	border-radius: var(--border-radius);
	text-decoration: none;
	font-weight: 600;
	transition: var(--transition-smooth);
	border: 2px solid transparent;
	position: relative;
	overflow: hidden;
}

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

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px var(--shadow-gold);
}

.btn-secondary {
	background: transparent;
	color: var(--text-primary);
	border-color: var(--border-subtle);
}

.btn-secondary:hover {
	border-color: var(--accent-gold);
	background: rgba(212, 175, 55, 0.1);
	transform: translateY(-2px);
}

/* Otter Showcase */
.otter-showcase {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.otter-card {
	width: 300px;
	height: 300px;
	border-radius: var(--border-radius-large);
	background: var(--tertiary-dark);
	border: 2px solid var(--border-subtle);
	overflow: hidden;
	position: relative;
	transition: var(--transition-smooth);
}

/* Main hero otter - always animated */
.otter-card.main-otter {
	animation: float 3s ease-in-out infinite;
	border-color: var(--accent-gold);
	box-shadow: 0 20px 40px var(--shadow-dark);
}

/* Other otter cards - only on hover */
.otter-card:hover:not(.main-otter) {
	transform: translateY(-10px) rotate(-2deg);
	border-color: var(--accent-gold);
	box-shadow: 0 20px 40px var(--shadow-dark);
}

.otter-image {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

/* Otter Character Styles - Placeholders for your images */
.business-otter {
	background-image: url('../assets/images/business_no_bg.png');
	background-size: cover;
	background-position: center 0%;
	background-repeat: no-repeat;
	background-color: #2a4d3a;
	position: relative;
}

.business-otter-green {
	background-image: url('../assets/images/green_no_bg.png');
	background-size: cover;
	background-position: center 0%;
	background-repeat: no-repeat;
	background-color: #1a5d1a;
}

.detective-otter {
	background-image: url('../assets/images/mac_no_bg.png');
	background-size: cover;
	background-position: center 0%;
	background-repeat: no-repeat;
	background-color: #4a3728;
}

.cosmic-otter {
	background: linear-gradient(45deg, #1a237e 0%, #3949ab 100%);
	position: relative;
}

.cosmic-otter::before {
	content: '✨';
	position: absolute;
	top: 20%;
	left: 80%;
	font-size: 1.5rem;
	animation: twinkle 2s infinite alternate;
}

.spotted-otter {
	background: linear-gradient(45deg, #d4af37 0%, #b8941f 100%);
}

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

.shadow-effect {
	position: absolute;
	bottom: -20px;
	left: 20px;
	right: 20px;
	height: 20px;
	background: radial-gradient(ellipse, var(--shadow-dark) 0%, transparent 70%);
	border-radius: 50%;
}

/* Tools Section */
.tools-section {
	padding: var(--section-padding);
	background: var(--secondary-dark);
}

.section-header {
	text-align: center;
	margin-bottom: 4rem;
}

.section-title {
	font-family: var(--font-accent);
	font-size: 2.5rem;
	color: var(--text-primary);
	margin-bottom: 1rem;
}

.section-subtitle {
	font-size: 1.25rem;
	color: var(--text-secondary);
}

.tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.tool-card {
	background: var(--tertiary-dark);
	border: 1px solid var(--border-subtle);
	border-radius: var(--border-radius-large);
	padding: 2rem;
	transition: var(--transition-smooth);
	position: relative;
	overflow: hidden;
}

.tool-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--gradient-gold);
	transform: scaleX(0);
	transition: var(--transition-smooth);
}

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

.tool-card:hover {
	transform: translateY(-5px);
	border-color: var(--accent-gold);
	box-shadow: 0 15px 30px var(--shadow-dark);
}

.tool-icon {
	width: 60px;
	height: 60px;
	background: var(--gradient-gold);
	border-radius: var(--border-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: var(--primary-dark);
	margin-bottom: 1.5rem;
}

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

.tool-description {
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
	line-height: 1.7;
}

.tool-features {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.feature-tag {
	background: rgba(212, 175, 55, 0.1);
	color: var(--accent-gold);
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 500;
	border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Lore Section */
.lore-section {
	padding: var(--section-padding);
	background: var(--primary-dark);
}

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

.lore-title {
	font-family: var(--font-accent);
	font-size: 2.5rem;
	color: var(--text-primary);
	margin-bottom: 2rem;
}

.lore-paragraph {
	color: var(--text-secondary);
	font-size: 1.125rem;
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

.lore-paragraph strong {
	color: var(--accent-gold);
}

.lore-paragraph em {
	color: var(--accent-silver);
	font-style: normal;
	font-weight: 600;
}

.syndicate-motto {
	background: var(--tertiary-dark);
	border-left: 4px solid var(--accent-gold);
	padding: 1.5rem 2rem;
	margin: 2rem 0;
	font-family: var(--font-accent);
	font-size: 1.25rem;
	color: var(--accent-gold);
	font-style: italic;
	border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.otter-showcase-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.otter-showcase-grid .otter-card {
	width: 150px;
	height: 150px;
}

/* Stats Section */
.stats-section {
	padding: 3rem 0;
	background: var(--tertiary-dark);
	border-top: 1px solid var(--border-subtle);
	border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	text-align: center;
}

.stat-item {
	padding: 1rem;
}

.stat-number {
	font-size: 3rem;
	font-weight: 700;
	color: var(--accent-gold);
	font-family: var(--font-accent);
	margin-bottom: 0.5rem;
}

.stat-label {
	color: var(--text-secondary);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.875rem;
}

/* Contact Section */
.contact-section {
	padding: var(--section-padding);
	background: var(--secondary-dark);
	text-align: center;
}

.contact-title {
	font-family: var(--font-accent);
	font-size: 2.5rem;
	color: var(--text-primary);
	margin-bottom: 1rem;
}

.contact-description {
	font-size: 1.25rem;
	color: var(--text-secondary);
	margin-bottom: 2rem;
}

.contact-buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.social-links {
	display: flex;
	gap: 1rem;
}

.social-link {
	width: 50px;
	height: 50px;
	background: var(--tertiary-dark);
	border: 1px solid var(--border-subtle);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-secondary);
	text-decoration: none;
	transition: var(--transition-smooth);
	font-size: 1.25rem;
}

.social-link:hover {
	background: var(--accent-gold);
	color: var(--primary-dark);
	transform: translateY(-2px);
	border-color: var(--accent-gold);
}

/* Footer */
.footer {
	background: var(--primary-dark);
	border-top: 1px solid var(--border-subtle);
	padding: 2rem 0;
}

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

.footer-tagline {
	color: var(--text-muted);
	font-style: italic;
	margin-top: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
	.hamburger {
		display: flex;
	}

	.nav-menu {
		position: fixed;
		left: -100%;
		top: 80px;
		flex-direction: column;
		background: var(--secondary-dark);
		width: 100%;
		text-align: center;
		transition: var(--transition-smooth);
		border-top: 1px solid var(--border-subtle);
		padding: 2rem 0;
	}

	.nav-menu.active {
		left: 0;
	}

	.hero-content {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 3rem;
	}

	.hero-title {
		font-size: 2.5rem;
	}

	.lore-content {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.otter-showcase-grid {
		justify-items: center;
	}

	.footer-content {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

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

	.btn {
		padding: 0.875rem 1.5rem;
	}

	.section-title {
		font-size: 2rem;
	}

	.container {
		padding: 0 1rem;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 2rem;
	}

	.tools-grid {
		grid-template-columns: 1fr;
	}

	.otter-showcase-grid {
		grid-template-columns: 1fr;
		justify-items: center;
	}

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

	.stat-number {
		font-size: 2rem;
	}
}

/* Smooth Scrolling */
html {
	scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
	background: var(--accent-gold);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--accent-gold-hover);
}

/* Animation Classes */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Loading States */
.loading {
	opacity: 0.7;
	pointer-events: none;
}

/* Focus States for Accessibility */
.nav-link:focus,
.btn:focus,
.social-link:focus {
	outline: 2px solid var(--accent-gold);
	outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	:root {
		--text-secondary: #e0e0e0;
		--border-subtle: #666666;
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
