/* Mobile-first styles for HireMessenger */

/* Base styles */
:root {
  --primary-color: #4a6bff;
  --secondary-color: #34c759;
  --accent-color: #ff9500;
  --dark-color: #1c1c1e;
  --light-color: #f5f5f7;
  --gray-color: #86868b;
  --white-color: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

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

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

.container {
  width: 100%;
  padding: 0 1.25rem;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 0.75rem;
}

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

.btn-primary:hover {
  background-color: #3a5bef;
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--shadow-color);
}

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

.btn-secondary:hover {
  background-color: #2ab54a;
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--shadow-color);
}

.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-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--shadow-color);
}

section {
  padding: 3rem 0;
}

.text-center {
  text-align: center;
}

.section-title {
  position: relative;
  margin-bottom: 2rem;
  font-size: 1.75rem;
}

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

/* Alpha badge */
.alpha-badge {
  background-color: #ff9500;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 5px;
  display: inline-block;
  vertical-align: middle;
}

/* India only badge */
.india-only {
  display: inline-block;
  background-color: #e8f0ff;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  margin: 0.5rem 0 1rem;
  color: #4a6bff;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white-color);
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
}

.header-scrolled {
  box-shadow: 0 5px 15px var(--shadow-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px;
  margin-right: 8px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

.mobile-menu-btn {
  display: block;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--dark-color);
}

.mobile-menu-btn.active i:before {
  content: "\f00d";
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white-color);
  box-shadow: 0 5px 10px var(--shadow-color);
  padding: 1rem 0;
  text-align: center;
}

.nav-links.active li {
  margin: 0.5rem 0;
}

.nav-links a {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  display: block;
}

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

/* Hero Section */
.hero {
  padding: 5rem 0 2rem;
  background: linear-gradient(135deg, #f5f7ff 0%, #e8f0ff 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-text {
  margin-bottom: 2rem;
}

.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.typing-text {
  color: var(--accent-color);
  font-weight: 700;
  display: inline;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
}

/* Hero Form */
.hero-form-container {
  width: 100%;
}

.hero-form {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-form h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.hero-form p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
}

.country-select {
  display: flex;
  gap: 10px;
}

.country-select select {
  width: 80px;
  flex-shrink: 0;
}

/* About Section */
.about {
  background-color: var(--white-color);
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-text {
  margin-bottom: 2rem;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 30px var(--shadow-color);
}

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

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--white-color);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 10px 20px var(--shadow-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--white-color);
}

.steps {
  display: flex;
  flex-direction: column;
}

.step {
  margin-bottom: 2rem;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

/* Telegram Bot Section */
.telegram-bot {
  background: linear-gradient(135deg, #e8f0ff 0%, #d1e3ff 100%);
}

.telegram-content {
  display: flex;
  flex-direction: column;
}

.telegram-text {
  margin-bottom: 2rem;
}

.telegram-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 30px var(--shadow-color);
}

/* Stats Section */
.stats-dashboard {
  background-color: #f5f7ff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.stats-header {
  margin-bottom: 1rem;
}

.stats-header h3 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.stats-header p {
  color: #666;
  font-size: 0.8rem;
  margin-bottom: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.stat-box {
  text-align: center;
  padding: 1rem 0.5rem;
  background-color: white;
  border-radius: 8px;
}

.stat-box h4 {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.stat-box p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* Early Access Section */
.early-access {
  background-color: var(--white-color);
}

.early-access-content {
  display: flex;
  flex-direction: column;
}

.early-access-text {
  margin-bottom: 2rem;
}

.early-access-text ul {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}

.early-access-text li {
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
  background-color: var(--light-color);
}

.contact-content {
  display: flex;
  flex-direction: column;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.contact-icon {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-right: 0.75rem;
  margin-top: 0.2rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(74, 107, 255, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-3px);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-logo img {
  height: 32px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.9rem;
  color: #aaa;
}

.footer-title {
  color: var(--white-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #aaa;
  font-size: 0.9rem;
}

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

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.8rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #3a5bef;
  transform: translateY(-3px);
}

/* Success and Error Messages */
.success-message, .error-message {
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
  text-align: center;
}

.success-message {
  background-color: #34c759;
  color: white;
}

.error-message {
  background-color: #ff3b30;
  color: white;
}

/* Tablet Styles */
@media screen and (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .btn {
    width: auto;
    margin-bottom: 0;
  }
  
  .hero-btns {
    flex-direction: row;
    gap: 1rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .step {
    flex: 0 0 calc(50% - 1rem);
  }
  
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 0;
  }
  
  .footer-content {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .footer-logo {
    flex: 0 0 100%;
    margin-bottom: 1.5rem;
  }
  
  .footer-links {
    flex: 1;
  }
}

/* Desktop Styles */
@media screen and (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 3.2rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  section {
    padding: 5rem 0;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
  }
  
  .nav-links li {
    margin-left: 1.5rem;
  }
  
  .nav-links a {
    padding: 0;
    display: inline;
  }
  
  .nav-links a:hover {
    background-color: transparent;
  }
  
  .hero-content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  
  .hero-text {
    flex: 1;
    margin-bottom: 0;
  }
  
  .hero-form-container {
    flex: 1;
    max-width: 400px;
  }
  
  .about-content, 
  .telegram-content,
  .early-access-content,
  .contact-content {
    flex-direction: row;
    gap: 3rem;
  }
  
  .about-text, 
  .telegram-text,
  .early-access-text,
  .contact-info {
    flex: 1;
    margin-bottom: 0;
  }
  
  .about-image, 
  .telegram-image,
  .contact-form {
    flex: 1;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .step {
    flex: 1;
    margin-bottom: 0;
  }
  
  .footer-logo {
    flex: 2;
    margin-bottom: 0;
  }
}

/* Large Desktop Styles */
@media screen and (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Extra Large Desktop Styles */
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}
