/* CSS Reset and Variables */
:root {
  --primary-color: #2D5BFF;
  --secondary-color: #00D2FF;
  --dark-color: #1A1F36;
  --light-color: #F7F9FC;
  --text-main: #3C4257;
  --text-muted: #697386;
  --white: #FFFFFF;
  --border-color: #E3E8EE;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.3s ease;
}

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

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

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

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

ul {
  list-style: none;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark-color);
  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; }

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

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

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(45, 91, 255, 0.2);
}

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

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

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 8px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
}

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

.lang-switch {
  display: flex;
  gap: 10px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--border-color);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.lang-btn.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background-color: var(--white);
  text-align: center;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Features/Services Section */
.section {
  padding: 100px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

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

.card {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-color: var(--primary-color);
}

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

/* Content Pages (Privacy, Terms, About) */
.page-header {
  padding: 150px 0 60px;
  background: var(--dark-color);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.page-content {
  padding: 60px 0;
  background: var(--white);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h2 {
  margin-top: 40px;
  font-size: 1.8rem;
}

.content-wrapper h3 {
  margin-top: 30px;
  font-size: 1.4rem;
}

.content-wrapper p, .content-wrapper ul {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.content-wrapper ul {
  padding-left: 20px;
  list-style: disc;
}

.info-box {
  background: var(--light-color);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  margin: 40px 0;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-col p, .footer-col a {
  color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
  color: var(--secondary-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  .hero { padding: 120px 0 60px; }
  .section { padding: 60px 0; }
  
  .card { padding: 25px; }
}
