/*
 * Main styles for ainudes.buzz
 * Optimized for Indian market with Hindi language
 */

/* Root variables and reset */
:root {
  --primary: #F43F5E; /* Pink */
  --secondary: #8B5CF6; /* Purple */
  --accent: #FF9900; /* Orange - common in Indian design */
  --dark: #18181B;
  --light: #F8FAFC;
  --gray-dark: #334155;
  --gray: #64748B;
  --gray-light: #E2E8F0;
  
  --gradient-primary: linear-gradient(120deg, var(--primary), var(--secondary));
  --gradient-accent: linear-gradient(120deg, var(--accent), var(--primary));
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light);
  color: var(--gray-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

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

h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.accent-text {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header and Navigation */
.site-header {
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.97);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.site-name {
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark);
  margin-bottom: 5px;
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  color: var(--gray-dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

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

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  left: 0;
  bottom: 0;
  transition: var(--transition);
}

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

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.btn-primary:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.7s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover:before {
  left: 100%;
}

/* Hero section */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #f8f0ff, #fff2f6);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.cta-wrapper {
  margin-top: 2rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-shape {
  width: 100%;
  max-width: 450px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  color: white;
  z-index: 1;
}

/* Features section */
.features {
  padding: 5rem 0;
  background-color: white;
  position: relative;
  z-index: 2;
}

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

.feature-box {
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  background: white;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
  height: 100%;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(243, 63, 94, 0.05), rgba(139, 92, 246, 0.05));
  z-index: -1;
  transition: var(--transition);
  opacity: 0;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-icon {
  margin-bottom: 1.5rem;
}

/* Process section */
.process {
  padding: 7rem 0;
  background-color: var(--gray-light);
  position: relative;
}

.process-steps {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.step-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.step-content {
  flex: 1;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

.wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  color: var(--gray-light);
  transform: rotate(180deg);
  z-index: 1;
}

/* Benefits section */
.benefits {
  padding: 7rem 0;
  background-color: white;
}

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

.benefit-box {
  padding: 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.benefit-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--gradient-primary);
  transition: var(--transition);
  z-index: -1;
}

.benefit-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-box:hover::before {
  height: 100%;
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.link-group h4 {
  color: white;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.link-group h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: 0.75rem;
}

.link-group a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.link-group a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
  h1, .hero-content h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-visual {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .hero-shape {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  h1, .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .site-header .container {
    flex-direction: column;
  }
  
  .logo-wrapper {
    width: 100%;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background-color: white;
    padding-top: 5rem;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 2rem;
  }
  
  .main-nav li {
    width: 100%;
    border-bottom: 1px solid var(--gray-light);
  }
  
  .main-nav a {
    display: block;
    padding: 1rem 0;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-icon {
    margin: 0 auto 1rem;
  }
  
  .step-content {
    text-align: center;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    gap: 2rem;
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  h1, .hero-content h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .features-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    gap: 1.5rem;
  }
  
  section {
    padding: 4rem 0;
  }
}
