@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  /* Modern Color Palette */
  --primary-color: #3498db;
  --primary-dark: #2980b9;
  --primary-light: #85c9f2;
  --secondary-color: #4aa3df;
  --secondary-dark: #d97706;
  --secondary-light: #fbbf24;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --info-color: #3b82f6;
  --dark-color: #111827;
  --light-color: #f9fafb;
  --gray-color: #6b7280;
  --gray-light: #f3f4f6;
  --gray-dark: #374151;
  
  /* Modern UI Variables */
  --body-bg: #f8fafc;
  --card-bg: #ffffff;
  --text-color: #333;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --border-radius: 8px;
  --border-radius-sm: 0.5rem;
  --box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --box-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --light-gray: #f5f7f9;
}

/* Dark Mode Variables */
.dark {
  --body-bg: #0f172a;
  --card-bg: #1e293b;
  --text-color: #f3f4f6;
  --text-muted: #9ca3af;
  --border-color: #2d3748;
  --box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.2), 0 2px 4px -2px rgb(0 0 0 / 0.2);
}

/* Modern Card Styles */
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  overflow: hidden;
  padding: 2.5rem;
}

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

/* Modern Button Styles */
.btn {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-login {
  color: var(--primary-color);
  background: rgba(52, 152, 219, 0.1);
}

.btn-login:hover {
  background: rgba(52, 152, 219, 0.2);
}

.btn-large {
  padding: 1.5rem 3.5rem;
  font-size: 1.25rem;
}

.btn-outline {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  border-color: transparent;
}

/* Modern Form Styles */
input, select, textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  color: var(--text-color);
  font-size: 0.875rem;
  transition: var(--transition);
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Modern Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.5rem;
  padding: 1.5rem;
  max-width: 1920px;
  margin: 0 auto;
}

/* Welcome Card Redesign */
.welcome-card {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 2rem;
  border-radius: var(--border-radius);
  color: white;
  position: relative;
  overflow: hidden;
}

.welcome-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

/* Stats Grid Redesign */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stat-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

/* Quick Actions Redesign */
.action-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.action-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 1.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.action-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.action-btn:hover i {
  color: white;
}

/* Transaction List Redesign */
.transaction-item {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.transaction-item:hover {
  background: var(--gray-light);
}

.transaction-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.transaction-icon.credit {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.transaction-icon.debit {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

/* Modern Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-dark);
}

/* Bank Card Redesign */
.bank-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  padding: 1.5rem;
  border-radius: var(--border-radius);
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.bank-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.bank-card-chip {
  width: 45px;
  height: 35px;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  border-radius: 5px;
  margin: 1rem 0;
}

.bank-card-number {
  font-size: 1.25rem;
  letter-spacing: 4px;
  margin: 1rem 0;
}

.bank-card-details {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

/* Quick Transfer Redesign */
.quick-transfer {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.quick-transfer form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Responsive Design Updates */
@media (max-width: 1400px) {
  .dashboard-grid {
    grid-template-columns: 1fr 340px;
  }
}

@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dashboard-grid {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .action-buttons {
    grid-template-columns: 1fr;
  }
  
  .welcome-card,
  .stat-card,
  .quick-transfer {
    padding: 1rem;
  }
}

/* Loading Animations */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading {
  background: linear-gradient(
    to right,
    var(--gray-light) 8%,
    var(--card-bg) 18%,
    var(--gray-light) 33%
  );
  background-size: 2000px 100%;
  animation: shimmer 2s linear infinite;
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 1000;
}

.theme-toggle:hover {
  background: var(--gray-light);
}

/* Main Content Adjustment */
.main-content {
    margin-top: 80px;
    padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .search-bar {
        width: 250px;
    }
    
    .username {
        display: none;
    }
}

@media (max-width: 992px) {
    .nav-link span {
        display: none;
    }
    
    .nav-link {
        padding: 0.5rem;
    }
    
    .search-bar {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .search-bar {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--card-bg);
        padding: 0.75rem;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        justify-content: space-around;
    }
    
    .nav-link {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .nav-link span {
        display: block;
        font-size: 0.75rem;
    }
    
    .main-content {
        margin-bottom: 80px;
    }
}

/* Dark Mode Adjustments */
.dark .top-navbar {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}

.dark .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dark .nav-link.active {
    background: rgba(37, 99, 235, 0.2);
}

.dark .search-bar input {
    background: rgba(255, 255, 255, 0.05);
}

.dark .search-bar input:focus {
    background: var(--card-bg);
}

.dark .notification-btn:hover,
.dark .user-menu:hover,
.dark .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 15px;
}

/* Container Width */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Landing Page Styles */
.landing-page {
    max-width: 100%;
    overflow: hidden;
}

.landing-page header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.landing-page header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Section Padding */
.hero,
.solutions,
.features,
.trust,
.about,
.contact {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .hero,
    .solutions,
    .features,
    .trust,
    .about,
    .contact {
        padding: 3rem 0;
    }
}

/* Navigation Styles */
.navbar {
    padding: 1rem 0;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}

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

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

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

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

/* Header Styles */
header {
    padding: 15px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 35px;
}

.logo h1 {
    font-size: 20px;
    margin-left: 10px;
}

nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.auth-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background-color: var(--light-background);
    overflow: hidden;
}

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

.hero-content {
    max-width: 650px;
    padding-right: 3rem;
}

.hero-badge {
    font-size: 13px;
    padding: 6px 12px;
    background: var(--light-gray);
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 15px;
    color: #666;
    margin-bottom: 24px;
}

.hero-buttons {
    gap: 2rem;
    margin-bottom: 5rem;
}

.hero-stats {
    gap: 3rem;
}

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

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 24px;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 13px;
}

.hero-image {
    position: relative;
}

.main-illustration {
    width: 120%;
    margin-left: -10%;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.main-illustration:hover {
    transform: translateY(-10px);
}

.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-card {
    position: absolute;
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 10%;
    left: -10%;
}

.card-2 {
    top: 40%;
    right: -10%;
}

.card-3 {
    bottom: 10%;
    left: 20%;
}

/* Solutions Section */
.solutions {
    padding: 10rem 0;
}

.solutions h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

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

.solution-card {
    background-color: white;
    padding: 24px;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.solution-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.solution-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    padding: 4px 8px;
    border-radius: 1rem;
    font-size: 12px;
    font-weight: 500;
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.solution-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.solution-features i {
    color: var(--success-color);
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.learn-more:hover {
    text-decoration: underline;
}

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

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.feature-card h3 {
    font-size: 18px;
    margin: 12px 0 8px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
}

/* Trust Section */
.trust {
    padding: 8rem 0;
    background-color: white;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.trust-badge {
    height: 40px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.trust-badge:hover {
    opacity: 1;
}

/* About Section */
.about {
    padding: 10rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about h2 {
    font-size: 28px;
    margin-bottom: 1.5rem;
}

.about p {
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.about-feature i {
    color: var(--success-color);
    font-size: 1.5rem;
}

.about-feature h4 {
    font-size: 16px;
    margin-bottom: 0.5rem;
}

.about-feature p {
    font-size: 14px;
    margin-bottom: 0;
}

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

.contact h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-details h4 {
    font-size: 16px;
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: 14px;
    color: var(--secondary-color);
}

.contact-details .subtitle {
    font-size: 0.875rem;
    color: var(--light-text);
}

.contact-form {
    background-color: white;
    padding: 4rem;
    border-radius: 1.5rem;
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .container {
        padding: 0 50px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .main-illustration {
        width: 110%;
        margin-left: -5%;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .hero {
        padding: 10rem 0 6rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .main-illustration {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }
    
    .hero {
        padding: 8rem 0 5rem;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .solution-card,
    .feature-card,
    .contact-form {
        padding: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 25px;
    }
    
    .hero {
        padding: 7rem 0 4rem;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .solution-card,
    .feature-card,
    .contact-form {
        padding: 2rem;
    }
}


