/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000000;
  color: #e8eaed;
  font-family: 'Google Sans', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #8ab4f8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Top Navigation ── */
header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 24px;
  gap: 12px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

header nav a {
  font-size: 13px;
  color: #e8eaed;
}

header nav a:hover {
  text-decoration: underline;
}

.btn-signin {
  background: linear-gradient(135deg, #0088cc, #00aaff);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: box-shadow 0.2s, opacity 0.2s;
  text-decoration: none !important;
}

.btn-signin:hover {
  box-shadow: 0 0 12px rgba(0, 170, 255, 0.7);
  opacity: 0.95;
  text-decoration: none !important;
}

/* ── Main / Center Content ── */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px 40px;
  margin-top: -60px;
}

/* Logo */
.logo-wrapper {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.logo {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  color: #00aaff;
  -webkit-text-fill-color: #00aaff;
  user-select: none;
}

.logo-tagline {
  font-size: 13px;
  color: #9aa0a6;
  letter-spacing: 0.5px;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 170, 255, 0.15);
  border: 1px solid rgba(0, 170, 255, 0.4);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: #7dd8ff;
  margin-top: 6px;
}

.ai-badge svg {
  width: 14px;
  height: 14px;
}

/* Search Box */
.search-container {
  width: 100%;
  max-width: 584px;
  margin-bottom: 28px;
}

.search-box {
  display: flex;
  align-items: center;
  background: #111827;
  border: 1px solid #303134;
  border-radius: 24px;
  padding: 12px 20px;
  gap: 12px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.search-box:hover,
.search-box:focus-within {
  border-color: rgba(0, 170, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.6);
  background: #0d1b2a;
}

.search-icon {
  color: #9aa0a6;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e8eaed;
  font-size: 16px;
  caret-color: #00aaff;
}

.search-input::placeholder {
  color: #5f6368;
}

.search-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #9aa0a6;
  padding: 4px;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
}

.icon-btn:hover {
  color: #00aaff;
  background: rgba(0, 170, 255, 0.12);
}

.search-divider {
  width: 1px;
  height: 22px;
  background: #303134;
}

/* Search Buttons */
.search-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.search-btn {
  background: #1e1e2e;
  color: #e8eaed;
  border: 1px solid #2d2d3f;
  padding: 9px 18px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.search-btn:hover {
  background: #0d1b2a;
  border-color: rgba(0, 170, 255, 0.5);
  box-shadow: 0 0 8px rgba(0, 170, 255, 0.2);
}

.search-btn.primary {
  background: linear-gradient(135deg, #0077bb, #00aaff);
  border-color: transparent;
  color: #fff;
}

.search-btn.primary:hover {
  background: linear-gradient(135deg, #0088cc, #33bbff);
  box-shadow: 0 0 14px rgba(0, 170, 255, 0.5);
}

/* Language selector */
.language-line {
  margin-top: 28px;
  font-size: 13px;
  color: #9aa0a6;
}

.language-line a {
  color: #8ab4f8;
  margin: 0 4px;
}

/* ── Feature Cards ── */
.features {
  margin-top: 50px;
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  justify-content: center;
  width: 100%;
  max-width: 900px;
}

.feature-card {
  background: #0d0d1a;
  border: 1px solid #1e1e3a;
  border-radius: 12px;
  padding: 18px 22px;
  flex: 1;
  min-width: 0;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: rgba(0, 170, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 170, 255, 0.15);
}

.feature-icon {
  font-size: 26px;
  margin-bottom: 10px;
}

.feature-title {
  font-size: 14px;
  font-weight: 600;
  color: #e8eaed;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 12px;
  color: #9aa0a6;
  line-height: 1.5;
}

/* ── Footer ── */
footer {
  border-top: 1px solid #1c1c1c;
  background: #0a0a0a;
}

.footer-country {
  padding: 14px 24px;
  font-size: 14px;
  color: #9aa0a6;
  border-bottom: 1px solid #1c1c1c;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-group a {
  font-size: 13px;
  color: #9aa0a6;
}

.footer-group a:hover {
  color: #e8eaed;
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .logo {
    font-size: 52px;
  }

  .search-container {
    max-width: 100%;
  }

  .features {
    flex-wrap: wrap;
    gap: 12px;
  }

  .feature-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 140px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }
}