@import url('themes.css');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  --primary: #0A3C24;       /* Trustworthy Forest Green */
  --primary-light: #0FA958; /* Vibrant Fintech Green */
  --primary-glow: rgba(15, 169, 88, 0.15);
  --secondary: #1E293B;     /* Slate Gray for headings */
  --accent: #E2FADB;        /* Soft Pastel Green for high contrast details */
  
  --bg-light: #F8FAFC;      /* Clean off-white background */
  --bg-white: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.85);
  
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-white: #FFFFFF;
  
  --border-light: rgba(15, 169, 88, 0.08);
  --border-glass: rgba(255, 255, 255, 0.4);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 75, 35, 0.04), 0 4px 6px -2px rgba(0, 75, 35, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(0, 75, 35, 0.08), 0 10px 10px -5px rgba(0, 75, 35, 0.04);
  --shadow-premium: 0 30px 60px -15px rgba(10, 60, 36, 0.12);
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.75rem;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(10, 60, 36, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 169, 88, 0.3);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--primary);
  border-color: rgba(10, 60, 36, 0.15);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 20px 0;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-light);
}

.mobile-nav-only {
  display: none;
}

.nav-backdrop {
  display: none;
}


.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

[data-theme="midnight"] .theme-toggle-btn {
  color: var(--text-white);
}

[data-theme="midnight"] .theme-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  /* Mobile-only nav links become visible inside the slide-down menu.
     The .nav-links / .nav-actions layout is defined once in the main
     768px breakpoint further below to avoid conflicting rules. */
  .mobile-nav-only {
    display: block;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
}

/* --- COMMON LAYOUT & UTILITIES --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px auto;
}

.section-header span {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary-light);
  display: inline-block;
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- GLASS CARD EFFECT --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

/* --- HERO SECTION --- */
.hero {
  padding: 180px 0 100px 0;
  background: radial-gradient(circle at 80% 20%, rgba(226, 250, 219, 0.5) 0%, rgba(248, 250, 252, 1) 70%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 169, 88, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  z-index: 1;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent);
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 24px;
  border: 1px solid rgba(15, 169, 88, 0.15);
}

.hero-tag i {
  color: var(--primary-light);
  font-size: 1rem;
}

.hero h1 {
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--primary-light);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.trust-badge-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-badge i {
  color: var(--primary-light);
}

/* --- DASHBOARD PREVIEW MOCKUP --- */
.hero-mockup-wrapper {
  position: relative;
  z-index: 1;
}

.dashboard-mockup {
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  background-color: #0b0f17; /* Dark Mode Mockup */
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-weight: 700;
  font-size: 0.9rem;
}

.mock-user-info span {
  display: block;
}

.mock-user-info .mock-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg-white);
}

.mock-user-info .mock-status {
  font-size: 0.75rem;
  color: #94a3b8;
}

.mock-actions {
  display: flex;
  gap: 8px;
}

.mock-btn {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mock-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
}

/* Mock Grid */
.mock-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

/* Premium Credit Card */
.mock-card {
  background: linear-gradient(135deg, #093c24 0%, #0fa958 100%);
  border-radius: 16px;
  padding: 20px;
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(10, 60, 36, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 180px;
}



.mock-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mock-card-chip {
  width: 32px;
  height: 24px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 4px;
}

.mock-card-middle {
  margin-top: 10px;
}

.mock-card-num {
  font-family: monospace;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.mock-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.mock-card-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}

.mock-card-val {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Quick Transfer Form */
.mock-transfer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-white);
}

.mock-transfer-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px;
  color: var(--bg-white);
  font-size: 0.85rem;
  width: 100%;
}

.mock-transfer-input::placeholder {
  color: #64748b;
}

.mock-contacts {
  display: flex;
  gap: 8px;
}

.mock-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  color: #94a3b8;
  transition: var(--transition-fast);
}

.mock-avatar-sm.active {
  border-color: var(--primary-light);
  color: var(--primary-light);
}

.mock-avatar-sm:hover {
  border-color: rgba(15, 169, 88, 0.5);
}

.mock-btn-send {
  background: var(--primary-light);
  border: none;
  color: var(--bg-white);
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mock-btn-send:hover {
  background: #0d964d;
}

/* Spending Chart Container */
.mock-bottom-row {
  grid-column: span 2;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
}

.mock-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mock-balance-block {
  text-align: left;
}

.mock-balance-block span {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
}

.mock-balance-block h4 {
  font-size: 1.4rem;
  color: var(--bg-white);
  margin-top: 2px;
}

.mock-chart-svg {
  width: 100%;
  height: 90px;
  display: block;
}

.mock-toast {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 169, 88, 0.95);
  color: var(--bg-white);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(15, 169, 88, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mock-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- FEATURES SECTION --- */
.features {
  background-color: var(--bg-white);
  position: relative;
}

.feature-card {
  padding: 40px;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.feature-card:hover {
  background-color: var(--bg-white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 169, 88, 0.2);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary);
  color: var(--bg-white);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* --- STATS SECTION --- */
.stats {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 15% 50%, rgba(15, 169, 88, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

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

.stat-item h3 {
  font-size: 3.5rem;
  color: var(--bg-white);
  margin-bottom: 8px;
  font-weight: 800;
}

.stat-item h3 span {
  color: var(--primary-light);
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 1rem;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
  background-color: var(--bg-light);
}

.testimonial-card {
  padding: 40px;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--primary-light);
  opacity: 0.3;
  margin-bottom: 10px;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.5;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #e2e8f0;
}

.testimonial-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- CTA PROMO BANNER --- */
.cta-banner {
  padding: 0 0 100px 0;
  background-color: var(--bg-light);
}

.cta-box {
  background: radial-gradient(circle at 80% 50%, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 80px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.cta-box h2 {
  color: var(--bg-white);
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  margin-bottom: 32px;
}

/* --- FOOTER --- */
footer {
  background-color: #0b0f17; /* Dark slate background */
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: var(--bg-white);
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

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

.footer-col h4 {
  color: var(--bg-white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* --- ABOUT PAGE STYLES --- */
.about-hero {
  padding: 180px 0 100px 0;
  background: radial-gradient(circle at 10% 20%, rgba(226, 250, 219, 0.4) 0%, rgba(248, 250, 252, 1) 75%);
  text-align: center;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-hero-content span {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary-light);
  display: inline-block;
  margin-bottom: 16px;
}

.about-hero-content h1 {
  margin-bottom: 24px;
}

.story-section {
  background-color: var(--bg-white);
}

.story-content h3 {
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 1.5rem;
}

.story-content p {
  margin-bottom: 20px;
}

.story-img-wrapper {
  position: relative;
}

.story-img-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(15, 169, 88, 0.08);
}

.values-grid {
  margin-top: 20px;
}

.value-card {
  padding: 30px;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 169, 88, 0.15);
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
}

.team-grid {
  margin-top: 20px;
}

.team-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 169, 88, 0.15);
}

.team-avatar-box {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(15, 169, 88, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-avatar-placeholder {
  font-size: 5rem;
  color: var(--primary-light);
  opacity: 0.45;
  transition: var(--transition-normal);
}

.team-card:hover .team-avatar-placeholder {
  transform: scale(1.1);
  opacity: 0.65;
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-info span {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.team-info p {
  font-size: 0.85rem;
}

/* --- SERVICES PAGE STYLES --- */
.services-hero {
  padding: 180px 0 100px 0;
  background: radial-gradient(circle at 90% 20%, rgba(226, 250, 219, 0.4) 0%, rgba(248, 250, 252, 1) 75%);
}

.services-intro {
  max-width: 700px;
  margin-bottom: 40px;
}

.service-block {
  padding: 80px 0;
  border-bottom: 1px solid rgba(15, 169, 88, 0.08);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block.alt-row .grid-2 {
  direction: rtl;
}

.service-block.alt-row .service-info-col {
  direction: ltr;
}

.service-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 50px;
  background-color: var(--accent);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.service-info-col h3 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.service-info-col p {
  margin-bottom: 28px;
}

.service-feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

.service-feature-list li i {
  color: var(--primary-light);
  font-size: 1.1rem;
}

.service-image-col {
  position: relative;
}

.service-display-card {
  padding: 40px;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* Specific inner mock layouts for service cards */
.checking-mock-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.checking-mock-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: var(--bg-light);
  border-radius: 8px;
  font-size: 0.85rem;
}

.checking-mock-item span {
  font-weight: 600;
}

/* --- PRICING PAGE STYLES --- */
.pricing-hero {
  padding: 180px 0 60px 0;
  background: radial-gradient(circle at 50% 20%, rgba(226, 250, 219, 0.4) 0%, rgba(248, 250, 252, 1) 75%);
  text-align: center;
}

.pricing-toggle-container {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  background-color: var(--bg-white);
  padding: 6px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 169, 88, 0.08);
}

.toggle-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 50px;
  transition: var(--transition-fast);
}

.toggle-label.active {
  background-color: var(--primary);
  color: var(--bg-white);
}

.save-badge {
  font-size: 0.75rem;
  background-color: #E2FADB;
  color: var(--primary-light);
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 700;
}

.pricing-grid {
  margin-top: 40px;
}

.pricing-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 48px 36px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
}

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

.pricing-card.popular {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-premium);
}

.popular-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background-color: var(--primary-light);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-name {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 32px;
}

.plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.plan-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.plan-features-list li.disabled {
  color: var(--text-muted);
  opacity: 0.65;
}

.plan-features-list li.disabled i {
  color: var(--text-muted);
}

.plan-features-list li i {
  color: var(--primary-light);
  font-size: 1rem;
}

/* --- CONTACT PAGE STYLES --- */
.contact-hero {
  padding: 180px 0 80px 0;
  background: radial-gradient(circle at 10% 20%, rgba(226, 250, 219, 0.4) 0%, rgba(248, 250, 252, 1) 75%);
}

.contact-info-card {
  padding: 40px;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-info-card h3 {
  margin-bottom: 24px;
}

.contact-method {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-method-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-method-text p {
  font-size: 0.9rem;
}

.contact-method-text a:hover {
  color: var(--primary-light);
}

/* Map Mock */
.map-mock {
  width: 100%;
  height: 240px;
  background-color: #e2e8f0;
  border-radius: var(--border-radius-md);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 169, 88, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-background-mock {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
  background-size: 24px 24px;
  opacity: 0.8;
}

.map-pin {
  position: relative;
  z-index: 2;
  color: var(--primary);
  font-size: 2rem;
  animation: bounce 2s infinite;
}

.map-pin-shadow {
  position: absolute;
  bottom: 90px;
  width: 16px;
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  animation: shadowPulse 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shadowPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.5; }
}

/* Contact Form Card */
.contact-form-card {
  padding: 40px;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(15, 169, 88, 0.12);
  background-color: var(--bg-light);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-light);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(15, 169, 88, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* FAQ Accordion Section */
.faq-section {
  background-color: var(--bg-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-md);
  background-color: var(--bg-light);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: all 0.3s ease-out;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active {
  background-color: var(--bg-white);
  border-color: rgba(15, 169, 88, 0.18);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 24px;
}

.faq-icon {
  font-size: 1.25rem;
  transition: var(--transition-normal);
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary-light);
}

/* Toast Messages */
.toast-notif {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 16px 28px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notif.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-notif i {
  color: var(--primary-light);
  font-size: 1.25rem;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  section {
    padding: 70px 0;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .menu-toggle {
    display: block;
  }
  
  /* Full-screen slide-down menu */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 84px 24px 160px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    transition: transform var(--transition-normal);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    padding: 16px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-light);
  }
  
  /* Keep header CTA buttons reachable on mobile via a docked action bar
     that slides up together with the open menu (incl. logged-in Dashboard / Log Out). */
  .nav-actions {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    z-index: 999;
  }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-links.active ~ .nav-actions {
    transform: translateY(0);
  }
  
  /* Tap-outside backdrop */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 60, 36, 0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
    z-index: 998;
  }
  
  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
  }
  
  .hero {
    padding-top: 130px;
    text-align: center;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .trust-badge-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
  }
  .dashboard-mockup {
    margin: 40px auto 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
  }
  
  .service-block.alt-row .grid-2 {
    direction: ltr;
  }
  .service-feature-list {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.popular {
    transform: none;
  }
  
  .cta-box {
    padding: 40px 24px;
    text-align: center;
  }
  .cta-box h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.1rem;
    letter-spacing: -0.02em;
  }
  .hero h1 {
    letter-spacing: -0.02em;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 16px;
  }
  .mock-grid {
    grid-template-columns: 1fr;
  }
  .mock-bottom-row {
    grid-column: span 1;
  }
  .section {
    padding: 60px 0;
  }
}

/* --- NEW HOME PAGE SECTIONS --- */
.card-showcase-section {
  padding: 100px 0; background: #ffffff; overflow: hidden;
}
.card-switcher-widget {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
}
.card-display-view {
  perspective: 1000px; width: 100%; max-width: 340px; aspect-ratio: 340 / 215; position: relative;
}
.card-showcase {
  width: 100%; height: 100%; border-radius: 16px; padding: 24px; color: white; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12); transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-showcase.emerald {
  background: linear-gradient(135deg, #064E30 0%, #0FA958 100%);
}
.card-showcase.violet {
  background: linear-gradient(135deg, #2E1065 0%, #7C3AED 100%);
}
.card-showcase.crimson {
  background: linear-gradient(135deg, #450A0A 0%, #DC2626 100%);
}
.card-showcase.midnight {
  background: linear-gradient(135deg, #0F172A 0%, #F59E0B 100%);
}
.card-btn-grid {
  display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap;
}
.card-select-btn {
  padding: 8px 16px; border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 50px; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.card-select-btn.active, .card-select-btn:hover {
  background: var(--primary); color: white; border-color: var(--primary);
}

.crypto-gateway-section {
  padding: 100px 0; background: #f8fafc;
}
.crypto-calculator-widget {
  background: white; border-radius: 16px; border: 1px solid rgba(0,0,0,0.06); padding: 30px; box-shadow: var(--shadow-lg); width: 100%; max-width: 440px; margin: 0 auto;
}
.crypto-rate-row {
  display: flex; align-items: center; justify-content: space-between; padding: 12px; background: #f8fafc; border-radius: 10px; margin-bottom: 12px; font-size: 0.85rem; font-weight: 700;
}

.security-vault-section {
  padding: 100px 0; background: #ffffff;
}
.vault-shield-wrapper {
  display: flex; align-items: center; justify-content: center; position: relative; height: 300px;
}
.vault-shield-outer {
  width: 220px; height: 220px; border-radius: 50%; border: 2px dashed var(--primary-light); display: flex; align-items: center; justify-content: center;
  animation: rotateShield 20s linear infinite;
}
.vault-shield-inner {
  width: 150px; height: 150px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px var(--primary-glow);
}
@keyframes rotateShield {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ai-budget-section {
  padding: 100px 0; background: #f8fafc;
}
.budget-goals-wrapper {
  display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 450px; margin: 0 auto;
}
.budget-goal-bar {
  background: white; border-radius: 12px; padding: 16px 20px; border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-sm);
}
.budget-goal-info {
  display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.85rem; font-weight: 700;
}
.budget-progress-track {
  height: 8px; background: #e2e8f0; border-radius: 10px; overflow: hidden;
}
.budget-progress-fill {
  height: 100%; border-radius: 10px;
}
