/* Apnacandidate - Professional Styling (Right2Vote Inspired) */

:root {
  --primary: #0066CC;
  --primary-dark: #0052A3;
  --primary-light: #E8F0FF;
  --secondary: #00B4D8;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --dark: #1F2937;
  --gray: #6B7280;
  --light: #F3F4F6;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

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

a:hover {
  color: var(--primary-dark);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--light);
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-secondary.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Navigation */
.navbar {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand h2 {
  margin: 0;
  color: var(--primary);
  font-size: 1.5rem;
}

.nav-brand .tagline {
  font-size: 0.75rem;
  color: var(--gray);
  margin: 0;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.language-selector {
  display: flex;
  gap: 0.5rem;
  margin-left: 2rem;
}

.lang-btn {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  background-color: var(--white);
  color: var(--dark);
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.lang-btn:hover {
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .language-selector {
    margin-left: auto;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
  padding: 6rem 0;
}

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

.hero-content h1 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--light);
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--dark);
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration {
  width: 100%;
  max-width: 400px;
}

.illustration svg {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    padding: 3rem 0;
  }
  h1 { font-size: 2rem; }
  .hero-stats {
    flex-direction: column;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-image {
    display: none;
  }
}

/* Value Propositions */
.value-props {
  padding: 5rem 0;
  background-color: var(--white);
}

.value-props h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}

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

.prop-card {
  padding: 2rem;
  background-color: var(--light);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.prop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background-color: var(--primary-light);
}

.prop-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.prop-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.prop-card p {
  color: var(--gray);
  line-height: 1.8;
}

/* Features */
.features {
  padding: 5rem 0;
  background-color: var(--white);
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}

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

.feature-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.learn-more {
  font-weight: 600;
  color: var(--primary);
}

.learn-more:hover {
  color: var(--primary-dark);
}

/* Industries */
.industries {
  padding: 5rem 0;
  background-color: var(--light);
}

.industries h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.industry-card {
  padding: 2rem;
  background-color: var(--white);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.industry-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.industry-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.industry-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.industry-card a {
  font-weight: 600;
  color: var(--primary);
}

/* Security */
.security {
  padding: 5rem 0;
  background-color: var(--white);
}

.security h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}

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

.security-card {
  padding: 2rem;
  background-color: var(--light);
  border-left: 4px solid var(--primary);
  border-radius: 4px;
}

.security-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.security-card ul {
  list-style: none;
}

.security-card li {
  padding: 0.5rem 0;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.security-card li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* Why Us */
.why-us {
  padding: 5rem 0;
  background-color: var(--light);
}

.why-us h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}

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

.why-card {
  padding: 2rem;
  background-color: var(--white);
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.why-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--gray);
  line-height: 1.8;
}

/* Social Proof */
.social-proof {
  padding: 5rem 0;
  background-color: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.social-proof h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}

.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.logo-item {
  padding: 2rem;
  text-align: center;
  background-color: var(--light);
  border-radius: 8px;
  color: var(--gray);
  font-weight: 500;
}

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

.testimonial {
  padding: 2rem;
  background-color: var(--light);
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.testimonial p {
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.8;
  font-style: italic;
}

.testimonial span {
  color: var(--gray);
  font-weight: 600;
}

/* FAQ */
.faq {
  padding: 5rem 0;
  background-color: var(--light);
}

.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}

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

.faq-item {
  padding: 2rem;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--gray);
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.cta-buttons .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.cta-buttons .btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.cta-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

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

.footer-section a {
  display: block;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }

  .props-grid,
  .features-grid,
  .industries-grid,
  .security-grid,
  .why-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-large,
  .cta-buttons .btn-large {
    width: 100%;
  }

  .nav-menu {
    display: none;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prop-card,
.feature-card,
.industry-card,
.why-card,
.faq-item {
  animation: fadeIn 0.5s ease-out;
}
