:root {
  --primary: #0F172A; /* Slate 900 */
  --secondary: #E2725B; /* Terracotta */
  --accent: #F59E0B; /* Amber 500 */
  --bg-light: #F8FAFC;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --container-max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass: rgba(255, 255, 255, 0.7);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* Header & Nav */
header {
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--glass);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.lang-switcher {
  position: relative;
  cursor: pointer;
}

.lang-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 1rem;
  width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1001;
}

.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li {
  margin-bottom: 0.75rem;
}

.lang-dropdown li:last-child {
  margin-bottom: 0;
}

.lang-dropdown a {
  font-size: 0.9rem;
  display: block;
}

.lang-dropdown a:hover {
  color: var(--secondary);
}

.nav-links a:not(.btn):hover {
  color: var(--secondary);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #1a2744;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(226, 114, 91, 0.15);
}

/* Hero Section */
.hero {
  padding: 12rem 0 10rem;
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.5)), url('/images/hero.png');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  font-size: 4.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-tagline {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
}

/* Bento Grid / Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.icon {
  width: 48px;
  height: 48px;
  background-color: rgba(226, 114, 91, 0.1);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.5rem;
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background-color: var(--primary);
  color: var(--white);
}

.stats h2, .stats h3 {
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 3rem;
}

.stat-item h2 {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.image-card {
  width: 100%;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subpage Hero */
.subpage-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8)), url('/images/hero.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.subpage-hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.subpage-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

.page-content {
  padding: 6rem 0;
}

.content-body {
  max-width: 800px;
  line-height: 1.8;
  font-size: 1.125rem;
  color: var(--text-dark);
}

.content-body h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.content-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-body p, .content-body ul {
  margin-bottom: 1.5rem;
}

.content-body ul {
  padding-left: 1.5rem;
}

.content-body li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  padding: 6rem 0 3rem;
  background-color: #f1f5f9;
  border-top: 1px solid rgba(0,0,0,0.05);
}

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

.footer-brand .logo {
  margin-bottom: 1.5rem;
  display: block;
}

.footer-brand p {
  color: var(--text-muted);
}

.footer-links h4, .footer-contact h4 {
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .nav-links { display: none; }
}
