:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #f8fafc;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --bg-light: #ffffff;
  --bg-dark: #0f172a;
  --footer-bg: #1e293b;
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Nav */
header {
  background-color: var(--bg-light);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.lang-switch {
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

.lang-switch:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

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

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

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Hero Section */
.hero {
  background-color: var(--bg-light);
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-bg-white {
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--text-dark);
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

/* Cards */
.card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Contact Info Box */
.contact-info {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-item strong {
  width: 120px;
  color: var(--text-dark);
}

/* Content Pages (Privacy, Terms, About) */
.page-header {
  background-color: var(--bg-light);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.content-wrap {
  background: var(--bg-light);
  padding: 4rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin-top: -2rem;
  margin-bottom: 4rem;
}

.content-wrap h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.content-wrap ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: #fff;
  padding: 4rem 0 2rem;
}

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

.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: #94a3b8;
}

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

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .content-wrap { padding: 2rem; }
}
