/* ===========================
   Global Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0066cc;
  --secondary-color: #00a8e8;
  --accent-color: #ffcc00;
  --dark-color: #1a1a1a;
  --light-color: #f5f5f5;
  --text-color: #333;
  --border-color: #ddd;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

/* ===========================
   Navigation
   =========================== */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  color: var(--primary-color);
}

.logo svg {
  width: 45px;
  height: 45px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

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

.nav-links a.active::after {
  width: 100%;
}

/* ===========================
   Main Content
   =========================== */
main {
  flex: 1;
}

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

.section-padding {
  padding: 80px 20px;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 120px 20px;
  text-align: center;
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  max-width: 600px;
  opacity: 0.95;
  margin-bottom: 10px;
}

.hero .subtitle {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--dark-color);
  padding: 14px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.cta-button:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button.secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button.secondary:hover {
  background-color: white;
  color: var(--primary-color);
}

/* ===========================
   Features Section
   =========================== */
.features {
  background-color: var(--light-color);
}

.features h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
  color: var(--dark-color);
}

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

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.feature-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* ===========================
   About Section
   =========================== */
.about {
  padding: 80px 20px;
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.about-text {
  color: #666;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-list {
  list-style: none;
  margin-top: 30px;
}

.about-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
}

.about-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 18px;
}

.about-image {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  color: white;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-image svg {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
}

/* ===========================
   Tech Section
   =========================== */
.tech-section {
  background-color: var(--light-color);
  padding: 80px 20px;
}

.tech-section h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
  color: var(--dark-color);
}

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

.tech-item {
  background: white;
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.tech-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 18px;
}

.tech-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
  padding: 80px 20px;
  background-color: white;
}

.contact h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 50px;
  color: var(--dark-color);
}

.contact-content {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 20px;
}

.contact-item h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.contact-item p {
  color: #666;
  font-size: 14px;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--dark-color);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.form-submit {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.form-submit:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* ===========================
   Footer
   =========================== */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 20px 30px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--accent-color);
}

.footer-section p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

.footer-links {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

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

/* ===========================
   Policy Pages
   =========================== */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: white;
}

.policy-content h1 {
  font-size: 40px;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.policy-content .last-updated {
  color: #999;
  font-size: 13px;
  margin-bottom: 40px;
}

.policy-content h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.policy-content h3 {
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.policy-content p {
  margin-bottom: 15px;
  line-height: 1.9;
  color: #666;
  font-size: 15px;
}

.policy-content ul,
.policy-content ol {
  margin-left: 30px;
  margin-bottom: 20px;
}

.policy-content li {
  margin-bottom: 10px;
  line-height: 1.8;
  color: #666;
  font-size: 14px;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .nav-links {
    gap: 15px;
    font-size: 12px;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features h2,
  .tech-section h2,
  .contact h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }

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

  .footer-links {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 20px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 28px;
  }

  .nav-links {
    gap: 10px;
    font-size: 11px;
  }

  .logo {
    font-size: 16px;
  }

  .section-padding {
    padding: 40px 20px;
  }

  .features-grid,
  .tech-grid {
    gap: 20px;
  }
}
