/* ============================================
   FOXROCK FINTECH - GLOBAL STYLES
   ============================================ */

:root {
  --primary-dark: #001f3f;
  --primary-navy: #0a2540;
  --accent-green: #00ff00;
  --accent-green-dark: #00cc00;
  --accent-teal: #00b8a9;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-gray: #666666;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
  margin-top: 1.5rem;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

a {
  color: #00cc99;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #12a580;
  text-decoration: underline;
}

strong {
  color: #6ba0da;
  font-weight: 600;
}

/*
  ============================================
   HERO SECTION
  ============================================ 
  
*/

.hero {
  color: var(--text-light);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(0,255,0,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)" /></svg>');
  opacity: 0.1;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--text-light);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

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

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


/* ============================================
   CONTAINER & LAYOUT
   ============================================ 
*/

.section {
  padding: 4rem 2rem;
}

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

.section-dark {
  background-color: #004080;
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-light);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

.grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background-color: var(--bg-white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent-green);
}

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

.card h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

.card-dark {
  background-color: var(--primary-navy);
  color: var(--text-light);
  border-left-color: var(--accent-teal);
}

.card-dark h3 {
  color: var(--text-light);
}

.card-dark p {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   METRICS & STATISTICS
   ============================================ */

.metrics-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.metric-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-navy));
  color: var(--text-light);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  border-top: 4px solid #35cf82;
  box-shadow: var(--shadow);
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #35cf82;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.metric-change {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: #35cf82;
  font-weight: 600;
}

/* 
  ============================================
   TABLES
  ============================================ 
   
*/

.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-navy));
  color: var(--text-light);
}

th {
  padding: 1.2rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--accent-green);
}

td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

tbody tr:hover {
  background-color: var(--bg-light);
}

tbody tr:nth-child(even) {
  background-color: rgba(0, 255, 0, 0.02);
}

/* 

  ============================================
   COMPARISON SECTION
  ============================================ 

*/

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.comparison-column {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-green);
}

.comparison-column h3 {
  margin-top: 0;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comparison-item {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.comparison-item:last-child {
  border-bottom: none;
}

.comparison-label {
  font-weight: 500;
  color: var(--text-dark);
}

.comparison-value {
  font-weight: 600;
  color: #00cc99;
}

.improvement-badge {
  display: inline-block;
  background-color: #00cc99;
  color: var(--primary-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* ============================================
   FEATURE HIGHLIGHTS
   ============================================ */

.feature-list {
  list-style: none;
  margin: 2rem 0;
}

.feature-list li {
  padding: 1rem 0;
  padding-left: 2.5rem;
  position: relative;
  color: rgb(27, 27, 27);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
  font-size: 1.2rem;
}

.roadmap li{
  color: rgb(148, 148, 148) !important;
}
.roadmap strong{
  color: #cee6ff;
  font-weight: 600;
}
/* ============================================
   CALLOUT BOXES
   ============================================ */

.callout {
  background-color: rgba(0, 255, 0, 0.1);
  border-left: 4px solid var(--accent-green);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.callout-title {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.callout p {
  margin-bottom: 0;
}

.callout-dark {
  background-color: var(--primary-navy);
  border-left-color: var(--accent-teal);
  color: var(--text-light);
  padding: 15px;
}

.callout-dark .callout-title {
  color: var(--accent-green);
}

.callout-dark p {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

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

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

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

  .btn {
    width: 100%;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  nav ul {
    gap: 1rem;
  }

  .metrics-container {
    grid-template-columns: repeat(2, 1fr);
  }

  table {
    font-size: 0.9rem;
  }

  th,
  td {
    padding: 0.8rem;
  }
}

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

  .section {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .metrics-container {
    grid-template-columns: 1fr;
  }

  .header-container {
    padding: 1rem;
  }

  nav ul {
    gap: 0.5rem;
    font-size: 0.9rem;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.text-right {
  text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.text-muted {
  color: var(--text-gray);
}

.text-accent {
  color: #10c138;
}

.bg-accent {
  background-color: var(--accent-green);
  color: var(--primary-dark);
}

.highlight {
  background-color: rgba(0, 255, 0, 0.15);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}
