/* Modern customizations layered on Pico.css */
:root {
  --blue: #106EBE;
  --mint: #0FFCBE;
  --brand: var(--blue);
  --primary: var(--blue);
  --primary-hover: var(--mint);
  --primary-focus: var(--mint);
}

/* Dark theme (default) */
body[data-theme="dark"] {
  --bg-primary: #0a0a0a;
  --bg-secondary: rgba(16, 110, 190, 0.05);
  --text-primary: #e2e8f0;
  --text-secondary: var(--mint);
  --border-color: rgba(16, 110, 190, 0.2);
  --nav-bg: rgba(10, 10, 10, 0.95);
}

/* Light theme */
body[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: rgba(16, 110, 190, 0.05);
  --text-primary: #1a1a1a;
  --text-secondary: var(--blue);
  --border-color: rgba(16, 110, 190, 0.2);
  --nav-bg: rgba(255, 255, 255, 0.95);
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  overflow-x: hidden;
}

/* Parallax Background */
.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.layer-1 {
  background: 
    linear-gradient(135deg, rgba(16, 110, 190, 0.1) 0%, rgba(15, 252, 190, 0.1) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(16, 110, 190, 0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.8;
}

.layer-2 {
  background: 
    radial-gradient(circle at 20% 80%, rgba(16, 110, 190, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(15, 252, 190, 0.05) 0%, transparent 50%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><defs><pattern id="dots" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(15, 252, 190, 0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
  opacity: 0.6;
}

.layer-3 {
  background: 
    linear-gradient(45deg, transparent 30%, rgba(16, 110, 190, 0.03) 50%, transparent 70%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600"><defs><pattern id="hexagons" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20 0 L40 10 L40 30 L20 40 L0 30 L0 10 Z" fill="none" stroke="rgba(16, 110, 190, 0.08)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hexagons)"/></svg>');
  opacity: 0.4;
}

.layer-4 {
  background: 
    linear-gradient(-45deg, transparent 30%, rgba(15, 252, 190, 0.03) 50%, transparent 70%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><defs><pattern id="circles" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="2" fill="none" stroke="rgba(15, 252, 190, 0.06)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23circles)"/></svg>');
  opacity: 0.3;
}

/* Material Symbols Icons */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.material-symbols-outlined:last-child {
  margin-right: 0;
}

.hero-icon {
  font-size: 2.5rem;
  margin-right: 1rem;
  color: var(--mint);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  color: var(--text-secondary);
}

code, pre {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Theme Toggle Button */
.theme-btn {
  background: none;
  border: 0.0625rem solid var(--text-secondary);
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-btn:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.theme-btn .material-symbols-outlined {
  margin-right: 0;
  font-size: 1.2rem;
}

/* Sticky Navigation */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(0.625rem);
  border-bottom: 0.125rem solid var(--blue);
  z-index: 1000;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.sticky-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sticky-nav ul {
  margin: 0;
  padding: 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 2rem;
  height: 2rem;
  transition: opacity 0.3s ease;
}

.nav-logo-dark {
  display: block;
}

.nav-logo-light {
  display: none;
}

body[data-theme="light"] .nav-logo-dark {
  display: none;
}

body[data-theme="light"] .nav-logo-light {
  display: block;
}

.sticky-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.sticky-nav a:hover {
  background: var(--blue);
  color: white;
}

.sticky-nav a .material-symbols-outlined {
  margin-right: 0;
  font-size: 1rem;
}

/* Hero Section */
header.hero {
  padding-top: 6rem;
  padding-bottom: 4rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.hero-content .lede {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-card article {
  height: 100%;
  background: var(--bg-secondary);
  border: 0.0625rem solid var(--blue);
  border-radius: 0.75rem;
  padding: 1.5rem;
  backdrop-filter: blur(0.625rem);
}

.hero-card header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-card ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hero-card ul li .material-symbols-outlined {
  margin-right: 0;
  color: var(--mint);
  font-size: 1.1rem;
}

.meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.meta .material-symbols-outlined {
  margin-right: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Sections */
section {
  margin: 4rem 0;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

section h2 .material-symbols-outlined {
  margin-right: 0;
  color: var(--mint);
  font-size: 2rem;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -0.625rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3.75rem;
  height: 0.1875rem;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  border-radius: 0.125rem;
}

.cards article {
  background: var(--bg-secondary);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
  backdrop-filter: blur(0.625rem);
}

.cards article:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.625rem 1.875rem rgba(16, 110, 190, 0.2);
  border-color: var(--blue);
}

.cards article h3 {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cards article h3 .material-symbols-outlined {
  margin-right: 0;
  color: var(--mint);
  font-size: 1.3rem;
}

.cards article ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.cards article li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Workflow Section */
.workflow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin: 3rem 0;
}

.workflow-card {
  background: var(--bg-secondary);
  border: 0.125rem solid var(--blue);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  min-height: 12.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backdrop-filter: blur(0.625rem);
}

.workflow-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 0.9375rem 2.5rem rgba(16, 110, 190, 0.3);
  border-color: var(--mint);
}

.workflow-number {
  position: absolute;
  top: -0.9375rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  border: 0.1875rem solid var(--bg-primary);
}

.workflow-card h3 {
  margin: 1rem 0 1rem 0;
  color: var(--text-secondary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.workflow-card h3 .material-symbols-outlined {
  margin-right: 0;
  color: var(--mint);
  font-size: 1.3rem;
}

.workflow-card p {
  color: var(--text-primary);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.workflow-icon {
  font-size: 2.5rem;
  margin-top: auto;
  color: var(--mint);
}

.workflow-icon .material-symbols-outlined {
  margin-right: 0;
  font-size: 2.5rem;
}

.workflow-arrow {
  font-size: 2rem;
  color: var(--blue);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workflow-arrow .material-symbols-outlined {
  margin-right: 0;
  font-size: 2rem;
}

/* Responsive workflow */
@media (max-width: 64rem) {
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .workflow-arrow {
    transform: rotate(90deg);
    margin: 1rem 0;
  }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.about-card {
  background: var(--bg-secondary);
  border: 0.0625rem solid var(--border-color);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(0.625rem);
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 0.9375rem 2.5rem rgba(16, 110, 190, 0.15);
  border-color: var(--blue);
}

.about-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  color: var(--mint);
}

.about-icon .material-symbols-outlined {
  margin-right: 0;
  font-size: 3rem;
}

.about-card h3 {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.about-card p {
  color: var(--text-primary);
  line-height: 1.7;
}

.about-founder {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--bg-secondary);
  border: 0.125rem solid var(--blue);
  border-radius: 1.25rem;
  text-align: center;
  position: relative;
  backdrop-filter: blur(0.625rem);
}

.about-founder::before {
  content: '';
  position: absolute;
  top: -0.125rem;
  left: -0.125rem;
  right: -0.125rem;
  bottom: -0.125rem;
  background: linear-gradient(45deg, var(--blue), var(--mint), var(--blue));
  border-radius: 1.25rem;
  z-index: -1;
  opacity: 0.3;
}

.founder-info h3 {
  color: var(--text-secondary);
  font-size: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.founder-info h3 .material-symbols-outlined {
  margin-right: 0;
  color: var(--mint);
  font-size: 1.8rem;
}

.founder-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.founder-title {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.founder-desc {
  color: var(--text-primary);
  line-height: 1.8;
  max-width: 37.5rem;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

.founder-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  background: rgba(16, 110, 190, 0.1);
  border-radius: 1.5625rem;
  border: 0.0625rem solid var(--border-color);
}

.founder-location .material-symbols-outlined {
  margin-right: 0;
  font-size: 1.2rem;
}

/* Buttons */
a[role="button"].contrast {
  background: linear-gradient(135deg, var(--blue), var(--mint));
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03125rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

a[role="button"].contrast:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1.5625rem rgba(16, 110, 190, 0.4);
}

a[role="button"].contrast .material-symbols-outlined {
  margin-right: 0;
  font-size: 1.1rem;
}

/* Footer */
footer.container {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 0.125rem solid var(--blue);
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 3.75rem;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 2rem;
  width: 100%;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 1.33rem);
  min-width: 0;
}

.carousel-slide article {
  background: var(--bg-secondary);
  border: 0.0625rem solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
  backdrop-filter: blur(0.625rem);
}

.carousel-slide article:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.625rem 1.875rem rgba(16, 110, 190, 0.2);
  border-color: var(--blue);
}

.carousel-slide article h3 {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-slide article h3 .material-symbols-outlined {
  margin-right: 0;
  color: var(--mint);
  font-size: 1.3rem;
}

.carousel-slide article ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.carousel-slide article li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Carousel Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-secondary);
  border: 0.125rem solid var(--blue);
  color: var(--text-secondary);
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(0.625rem);
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0.3125rem 0.9375rem rgba(16, 110, 190, 0.3);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

.carousel-btn .material-symbols-outlined {
  margin-right: 0;
  font-size: 1.5rem;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

/* Responsive Carousel */
@media (max-width: 64rem) {
  .carousel-slide {
    flex: 0 0 calc(50% - 1rem);
  }
  
  .carousel-container {
    padding: 0 3.125rem;
  }
}

@media (max-width: 48rem) {
  .carousel-slide {
    flex: 0 0 100%;
  }
  
  .carousel-container {
    padding: 0 2.5rem;
  }
  
  .carousel-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .carousel-btn .material-symbols-outlined {
    font-size: 1.2rem;
  }
}

/* Responsive Design */
@media (max-width: 48rem) {
  .sticky-nav .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .sticky-nav ul:last-child li a {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
  }
  
  header.hero {
    padding-top: 8rem;
  }
  
  section h2 {
    font-size: 2rem;
  }
  
  .cards article {
    padding: 1.5rem;
  }
  
  .hero-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
  }
  
  .nav-logo {
    width: 1.75rem;
    height: 1.75rem;
  }
}


