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

body {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #202124;
  background-color: #ffffff;
  overflow-x: hidden;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo {
  width: 32px;
  height: 32px;
}

.brand-name {
  font-size: 24px;
  font-weight: 600;
  color: #1a73e8;
}

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

.nav-link {
  text-decoration: none;
  color: #5f6368;
  font-weight: 400;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #1a73e8;
}

.cta-button {
  background: #1a73e8;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: #1557b0;
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* About and Terms Hero Variations */
.about-hero .hero-content,
.terms-hero .hero-content {
  grid-template-columns: 1fr;
  text-align: center;
  gap: 40px;
}

.about-hero,
.terms-hero {
  min-height: 70vh;
}

.last-updated {
  font-size: 24px;
  color: #5f6368;
  margin-top: 16px;
  opacity: 0.8;
}

.hero-title {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #202124;
}

.gradient-text {
  background: linear-gradient(45deg, #1a73e8, #34a853, #fbbc04, #ea4335);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

.hero-description {
  font-size: 20px;
  color: #5f6368;
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.primary-button,
.secondary-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.primary-button {
  background: #1a73e8;
  color: white;
}

.primary-button:hover {
  background: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.3);
}

.secondary-button {
  background: transparent;
  color: #1a73e8;
  border: 2px solid #1a73e8;
}

.secondary-button:hover {
  background: #1a73e8;
  color: white;
  transform: translateY(-2px);
}

/* Browser Mockup */
.browser-mockup {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.browser-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.browser-header {
  background: #f1f3f4;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.browser-controls {
  display: flex;
  gap: 8px;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.red {
  background: #ff5f56;
}

.control.yellow {
  background: #ffbd2e;
}

.control.green {
  background: #27ca3f;
}

.address-bar {
  background: white;
  padding: 8px 16px;
  border-radius: 20px;
  flex: 1;
  color: #5f6368;
  font-size: 14px;
}

.browser-content {
  padding: 24px;
  height: 300px;
}

.ranbot-widget {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8eaed;
}

.ranbot-avatar {
  width: 32px;
  height: 32px;
  background: #1a73e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
}

.message.bot {
  background: white;
  align-self: flex-start;
  border: 1px solid #e8eaed;
}

.message.user {
  background: #1a73e8;
  color: white;
  align-self: flex-end;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 8px 0;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: #9aa0a6;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Features Section */
.features {
  padding: 100px 0;
  background: white;
}

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

.section-header h2 {
  font-size: 48px;
  font-weight: 400;
  color: #202124;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: #5f6368;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  padding: 32px;
  border-radius: 16px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #e8eaed;
  background: white;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(45deg, #1a73e8, #34a853);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: white;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 12px;
}

.feature-card p {
  color: #5f6368;
  line-height: 1.6;
}

.feature-card ul {
  margin-top: 16px;
  padding-left: 20px;
}

.feature-card li {
  color: #5f6368;
  margin-bottom: 8px;
  line-height: 1.5;
}

.feature-card li strong {
  color: #202124;
  font-weight: 500;
}

/* Terms Section Specific Styles */
.terms-section {
  margin-bottom: 40px;
}

.terms-content .features-grid {
  grid-template-columns: 1fr;
  gap: 32px;
}

/* How it Works Section */
.how-it-works {
  padding: 100px 0;
  background: #f8f9fa;
}

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

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: #1a73e8;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 24px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 12px;
}

.step-content p {
  color: #5f6368;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Contact Section Styles */
.contact-section {
  padding: 100px 0;
}

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

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.contact-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.contact-card h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 8px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  font-size: 14px;
}

.contact-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: inline-block;
  transition: all 0.2s ease;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Contact Form Styles */
.contact-form-section {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 16px;
  margin: 40px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form-section h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: white;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
}

.form-group select option {
  background: #1a73e8;
  color: white;
}

.response-info {
  text-align: center;
  margin-top: 32px;
}

.response-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  font-size: 14px;
}

/* Download Section */
.download {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a73e8 0%, #34a853 100%);
  color: white;
  text-align: center;
}

.download-content h2 {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 16px;
}

.download-content p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.download-content .response-info-text {
  margin-bottom: 5px;
  opacity: 0.8;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.download-button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  background: white;
  color: #202124;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
  text-decoration: none;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.download-button img {
  width: 32px;
  height: 32px;
}

.download-button div {
  text-align: left;
}

.download-button .small {
  font-size: 12px;
  color: #5f6368;
  display: block;
}

.download-button .large {
  font-size: 16px;
  font-weight: 500;
  display: block;
}

.download-note {
  font-size: 14px;
  opacity: 0.8;
}

/* Footer */
.footer {
  background: #202124;
  color: white;
  padding: 60px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
}

.footer-brand-name {
  font-size: 24px;
  font-weight: 600;
  color: #1a73e8;
}

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

.footer-links a {
  color: #9aa0a6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #3c4043;
  color: #9aa0a6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .browser-mockup {
    transform: none;
  }

  .section-header h2 {
    font-size: 36px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 18px;
  }

  .primary-button,
  .secondary-button {
    padding: 14px 24px;
    font-size: 14px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .download-content h2 {
    font-size: 32px;
  }

  .contact-form-section {
    padding: 24px 20px;
  }

  .contact-card {
    padding: 24px 20px;
  }
}