:root {
  --primary-color: #8A58F3;
  --primary-light: #A87EF5;
  --primary-dark: #6B3FD9;
  --secondary-color: #FFC107;
  --accent-color: #00A86B;
  --text-dark: #1A2530;
  --text-muted: #6c757d;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(138,88,243,0.08);
  --shadow-md: 0 8px 24px rgba(138,88,243,0.12);
  --shadow-lg: 0 16px 48px rgba(138,88,243,0.16);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-color);
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-brand {
  font-weight: 800;
  color: var(--primary-color) !important;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(138,88,243,0.4);
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(138,88,243,0.5);
  color: #fff;
}

.btn-secondary-custom {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background-color: #ffca2c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
  color: var(--primary-color);
}

.btn-outline-custom {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #8A58F3 0%, #6B3FD9 50%, #A87EF5 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
}

/* Cards */
.feature-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(138,88,243,0.15) 0%, rgba(168,126,245,0.15) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Section Titles */
.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Founder Section */
.founder-card {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

footer h4, footer h6 {
  color: white;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--secondary-color);
}

footer .text-secondary {
  color: rgba(255, 255, 255, 0.7) !important;
}

footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 3rem 0;
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
}

.stars {
  color: var(--secondary-color);
}

/* Loan Calculator */
.loan-card {
  border: none;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.loan-card-header {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem;
  text-align: center;
}

.form-control, .form-select {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(138,88,243,0.15);
}
