/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #4c6ef5 0%, #364fc7 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(76, 111, 245, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid #4c6ef5;
  color: #4c6ef5;
}

.btn-outline:hover {
  background: #4c6ef5;
  color: white;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
  display: block;
  margin-bottom: 1rem;
}

.btn-secondary {
  background: #ed8936;
  color: white;
}

.btn-secondary:hover {
  background: #dd6b20;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(237, 137, 54, 0.3);
}

/* Checkbox styles */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-bottom: 0;
}

.checkbox-group input[type='checkbox'] {
  width: auto;
  margin: 0;
}

.checkmark {
  display: inline-block;
}

/* Header */
.header {
  background: linear-gradient(135deg, #4c6ef5 0%, #364fc7 100%);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand a {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.navbar-nav a:hover {
  opacity: 0.8;
}

.navbar-actions {
  display: flex;
  gap: 1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #4c6ef5 0%, #364fc7 100%);
  color: white;
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 500px;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.payment-illustration {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.payment-illustration div {
  position: absolute;
  font-size: 4rem;
  animation: float 3s ease-in-out infinite;
}

.card-icon {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}
.mobile-icon {
  top: 50%;
  right: 10%;
  animation-delay: 1s;
}
.chart-icon {
  bottom: 20%;
  left: 30%;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Sections */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2d3748;
}

.services {
  padding: 80px 0;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card.highlighted {
  background: linear-gradient(135deg, #4c6ef5 0%, #364fc7 100%);
  color: white;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.8;
}

/* Additional Services */
.additional-services {
  padding: 80px 0;
  background: #f8f9fa;
}

.additional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.additional-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.additional-card:hover {
  transform: translateY(-3px);
}

.additional-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Finance Services */
.finance-services {
  padding: 80px 0;
  background: white;
}

.finance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.finance-card {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  transition: background 0.3s ease;
}

.finance-card:hover {
  background: #e9ecef;
}

.finance-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.faq-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.faq-categories {
  display: flex;
  gap: 2rem;
}

.faq-category {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  flex: 1;
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.contact-hours {
  margin: 1rem 0;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.contact-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4c6ef5;
  text-align: center;
  margin-top: 1rem;
}

.faq-questions {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2d3748;
}

.faq-answer {
  color: #718096;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: #2d3748;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-info h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-info p {
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2d3748;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4c6ef5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.alert-error {
  background: #fed7d7;
  color: #c53030;
  border: 1px solid #feb2b2;
}

.alert-success {
  background: #c6f6d5;
  color: #22543d;
  border: 1px solid #9ae6b4;
}

/* Login/Register Pages */
.login-page,
.register-page {
  background: linear-gradient(135deg, #4c6ef5 0%, #364fc7 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container,
.register-container {
  width: 100%;
  max-width: 600px;
  padding: 20px;
}

.register-container {
  max-width: 600px;
}

.login-box,
.register-box {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.login-header,
.register-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h1,
.register-header h1 {
  color: #4c6ef5;
  margin-bottom: 0.5rem;
}

.login-footer,
.register-footer {
  text-align: center;
  margin-top: 2rem;
}

.login-footer a,
.register-footer a {
  color: #4c6ef5;
  text-decoration: none;
}

.login-footer a:hover,
.register-footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .navbar-menu {
    display: none;
  }

  .faq-content {
    grid-template-columns: 1fr;
  }

  .faq-categories {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}
