@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background-color: #f8fafc;
  /* Beautiful very subtle glassy gradient */
  background-image: 
    radial-gradient(at 0% 0%, hsla(217,100%,96%,1) 0, transparent 50%), 
    radial-gradient(at 50% 0%, hsla(210,100%,97%,1) 0, transparent 50%), 
    radial-gradient(at 100% 0%, hsla(218,100%,95%,1) 0, transparent 50%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Header and Navigation */
header {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

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

.nav-links li {
  margin-left: 32px;
}

.nav-links a {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0px;
  left: 0;
  background-color: #2563eb;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-links a:hover {
  color: #2563eb;
}

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

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: transparent;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #0f172a;
  letter-spacing: -1.5px;
  line-height: 1.1;
  background: linear-gradient(to right, #0f172a, #334155);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #2563eb;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 20px;
  color: #64748b;
  line-height: 1.7;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 48px;
  color: #0f172a;
  text-align: center;
  letter-spacing: -1px;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

.feature-item h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1e293b;
}

.feature-item p {
  color: #64748b;
  font-size: 1rem;
}

/* Technology Section */
.tech-section {
  position: relative;
  padding: 80px 0;
  margin-top: 40px;
  z-index: 1;
}

.tech-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 100%);
  z-index: -1;
}

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

.tech-item {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: all 0.3s ease;
  border-bottom: 4px solid #3b82f6;
  position: relative;
  overflow: hidden;
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
}

.tech-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0f172a;
}

.tech-item p {
  color: #64748b;
}

/* Footer (Always pushes to bottom) */
footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  flex-direction: row;
  gap: 32px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.footer-info {
  margin-top: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-info p {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .nav-links li {
    margin: 4px 12px;
  }

  .hero h1 {
    font-size: 2.25rem;
    letter-spacing: -1px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* Page Specific Content Styles (Privacy, Terms, Contact) */
.page-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 48px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

.page-content h2 {
  text-align: left;
  margin-bottom: 40px;
  color: #0f172a;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 20px;
}

.page-content h3 {
  font-size: 1.4rem;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 16px;
  font-weight: 700;
}

.page-content p {
  margin-bottom: 20px;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-content ul {
  margin-bottom: 24px;
  padding-left: 24px;
  color: #475569;
}

.page-content li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  position: relative;
}

.page-content strong {
  color: #0f172a;
  font-weight: 600;
}