/* Professional Scientific Research Tool - Advanced Styling */
/* Modern Scientific Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&family=Fira+Code:wght@300;400;500;600&family=JetBrains+Mono:wght@300;400;500;600&display=swap');

/* ================================================================
   COLOR CUSTOMIZATION SECTION
   ================================================================
   Change colors for different sections of your website below.
   Each section is clearly labeled for easy customization.
   ================================================================ */

:root {
  /* ============================================================
     🎨 MODERN BEAUTIFUL COLOR PALETTE - Attractive & Professional
     ============================================================ */
  --brand-primary: #3B82F6;          /* Modern Blue - trustworthy and vibrant */
  --brand-secondary: #10B981;        /* Fresh Green - modern and energetic */
  --brand-accent: #8B5CF6;           /* Soft Purple - elegant and distinctive */
  --brand-dark: #1F2937;             /* Dark Slate - strong text */
  --brand-light: #6B7280;            /* Medium Gray - secondary text */
  --brand-bg-primary: #FFFFFF;       /* Pure White - clean background */
  --brand-bg-secondary: #F9FAFB;     /* Very light gray - subtle background */

  /* ============================================================
     🏠 HOMEPAGE COLORS - Elegant and clean
     ============================================================ */
  --home-background: var(--brand-bg-secondary);  /* Very light gray */
  --home-card-bg: var(--brand-bg-primary);       /* White cards */
  --home-sequence-bg: var(--brand-bg-secondary); /* Light gray for sequences */
  --home-text-primary: var(--brand-dark);        /* Dark charcoal text */
  --home-text-secondary: var(--brand-light);     /* Light gray secondary text */

  /* ============================================================
     🧪 TOOL PAGE COLORS - Professional interface
     ============================================================ */
  --tool-header-bg: var(--brand-primary);        /* Dark charcoal header */
  --tool-header-text: var(--brand-bg-primary);   /* White text */
  --tool-primary: var(--brand-primary);          /* Dark charcoal */
  --tool-secondary: var(--brand-secondary);      /* Medium gray for highlights */
  --tool-accent: var(--brand-accent);            /* Cool gray for accents */
  --tool-light: var(--brand-bg-secondary);       /* Light gray background */
  --tool-input-bg: var(--brand-bg-primary);      /* White inputs */
  --tool-input-border: #E2E8F0;                  /* Light border */
  --tool-input-text: var(--brand-dark);          /* Dark text */
  --tool-section-bg: var(--brand-bg-primary);    /* White sections */

  /* ============================================================
     📋 RESULTS PAGE COLORS - Clean and precise
     ============================================================ */
  --results-header-bg: var(--brand-primary);     /* Dark charcoal header */
  --results-header-text: var(--brand-bg-primary); /* White text */
  --results-module-bg: var(--brand-secondary);   /* Medium gray highlights */
  --results-primary: var(--brand-primary);       /* Dark charcoal */
  --results-secondary: var(--brand-secondary);   /* Medium gray highlights */
  --results-accent: var(--brand-accent);         /* Cool gray accents */
  --results-light: var(--brand-bg-secondary);    /* Light gray background */
  --results-content-bg: var(--brand-bg-primary); /* White background */
  --results-card-bg: var(--brand-bg-primary);    /* White cards */
  --results-sequence-bg: var(--brand-bg-secondary); /* Light gray sequences */
  --results-text: var(--brand-dark);             /* Dark text */

  /* ============================================================
     🧑‍🔬 NAVIGATION BAR COLORS - Clean professional navigation
     ============================================================ */
  --nav-background: rgba(249, 250, 251, 0.95); /* Light neutral with transparency */
  --nav-background-scrolled: rgba(249, 250, 251, 0.98); /* Slightly more opaque when scrolled */
  --nav-text: var(--brand-dark);               /* Dark slate text */
  --nav-text-active: var(--brand-primary);     /* Modern blue for active states */
  --nav-logo-bg: var(--brand-bg-primary);      /* White logo backgrounds */
  --nav-hover: rgba(59, 130, 246, 0.1);        /* Subtle blue hover */

  /* ============================================================
     🔘 BUTTON COLORS - Beautiful modern buttons
     ============================================================ */
  --btn-primary: var(--brand-primary);         /* Modern blue - main actions */
  --btn-primary-hover: #2563EB;                /* Deeper blue on hover */
  --btn-primary-text: #FFFFFF;                 /* White text */
  --btn-secondary: var(--brand-secondary);     /* Fresh green - secondary actions */
  --btn-secondary-hover: #059669;              /* Deeper green on hover */
  --btn-accent: var(--brand-accent);           /* Soft purple - accent actions */
  --btn-accent-hover: #7C3AED;                 /* Deeper purple on hover */
  --btn-secondary-text: #FFFFFF;               /* White text */

  /* ============================================================
     📄 DOCUMENTATION PAGE COLORS - Professional and clear
     ============================================================ */
  --doc-header-bg: var(--brand-primary);     /* Dark charcoal - professional documentation */
  --doc-header-text: #FFFFFF;                /* White text for contrast */
  --doc-content-bg: #FFFFFF;                 /* White content */
  --doc-text: var(--brand-dark);             /* Dark charcoal for readability */
  --doc-primary: var(--brand-primary);       /* Dark charcoal */
  --doc-secondary: var(--brand-secondary);   /* Medium gray */
  --doc-accent: var(--brand-accent);         /* Cool gray */
  --doc-light: var(--brand-bg-secondary);    /* Light gray background */

  /* ============================================================
     👥 TEAM PAGE COLORS - Beautiful and vibrant
     ============================================================ */
  --team-card-bg: #FFFFFF;                   /* Team member card backgrounds */
  --team-header-bg: var(--brand-accent);     /* Soft purple - elegant */
  --team-text: var(--brand-dark);            /* Dark slate text */
  --team-accent: var(--brand-secondary);     /* Fresh green accents */
  --team-primary: var(--brand-primary);      /* Modern blue */
  --team-secondary: var(--brand-accent);     /* Soft purple */
  --team-light: var(--brand-bg-secondary);   /* Light background */

  /* ============================================================
     🔗 BORDERS & DIVIDERS - Subtle and clean
     ============================================================ */
  --border-light: #E2E8F0;                    /* Light gray borders */
  --border-medium: #CBD5E0;                   /* Medium gray borders */
  --border-strong: var(--brand-accent);       /* Cool gray accent borders */

  /* ============================================================
     🦶 FOOTER COLORS - Elegant professional
     ============================================================ */
  --footer-bg: var(--brand-primary);          /* Dark charcoal footer */
  --footer-text: #FFFFFF;                     /* White main text */
  --footer-text-muted: #E2E8F0;               /* Light gray secondary text */
  --footer-accent: var(--brand-accent);      /* Cool gray accent */

  /* ============================================================
     🧬 SEQUENCE COLORS - Beautiful scientific sequences
     ============================================================ */
  --trna-primary: var(--brand-secondary);    /* Fresh green for tRNA */
  --trna-light: rgba(16, 185, 129, 0.1);     /* Very light green background */
  --trna-text: var(--brand-dark);            /* Dark slate text for tRNA */
  --grna-primary: var(--brand-primary);      /* Modern blue for gRNA */
  --grna-light: rgba(59, 130, 246, 0.1);     /* Very light blue background */
  --grna-text: var(--brand-dark);            /* Dark slate text for gRNA */

  /* ============================================================
     ⚠️ STATUS COLORS - Beautiful status indicators
     ============================================================ */
  --color-success: var(--brand-secondary);   /* Fresh green - success states */
  --color-warning: #F59E0B;                  /* Vibrant amber - warnings */
  --color-error: #EF4444;                    /* Modern red - danger actions */
  --color-info: var(--brand-accent);         /* Soft purple - information */
  
  /* ============================================================
     🎨 LANDING PAGE COLORS - Professional & Clean
     ============================================================ */
  --landing-primary: var(--brand-primary);   /* Dark charcoal */
  --landing-secondary: var(--brand-secondary); /* Medium gray */
  --landing-accent: var(--brand-accent);     /* Cool gray */
  --landing-dark: var(--brand-dark);         /* Deep charcoal */
  
  /* ============================================================
     🎯 ACCENT COLORS - Special highlights
     ============================================================ */
  --accent-gold: #f59e0b;
  --accent-orange: #ea580c;
  --accent-purple: #7c3aed;
  --accent-pink: #ec4899;
  
  /* ============================================================
     🔤 PRIMARY SYSTEM COLORS - Core palette
     ============================================================ */
  --primary-navy: #1e293b;
  --primary-blue: #3b82f6;
  --primary-teal: #14b8a6;
  --primary-green: #10b981;
  
  /* ============================================================
     🔧 LEGACY SUPPORT - Maps old variable names to new ones
     ============================================================
     Don't change these - they ensure compatibility with existing code
     ============================================================ */
  
  /* Map old brand colors to new organized system */
  --primary: var(--brand-primary);
  --secondary: var(--brand-secondary);
  --accent: var(--brand-accent);
  --dark: var(--brand-dark);
  
  /* Map old background colors */
  --bg-canvas: var(--home-card-bg);
  --bg-subtle: var(--home-background);
  --bg-muted: var(--home-sequence-bg);
  --bg-header: var(--nav-background);
  --bg-dark: var(--brand-dark);
  
  /* Map old text colors */
  --fg-default: var(--home-text-primary);
  --fg-heading: var(--home-text-primary);
  --fg-muted: var(--home-text-secondary);
  --fg-subtle: var(--home-text-secondary);
  --fg-on-emphasis: var(--nav-text);
  
  /* Map old border colors */
  --border-default: var(--border-medium);
  --border-subtle: var(--border-light);
  --border-strong: var(--border-strong);
  
  /* Map old button colors */
  --btn-primary-bg: var(--btn-primary);
  --btn-primary-hover: var(--btn-primary-hover);
  --btn-secondary-bg: var(--btn-secondary);
  --btn-secondary-hover: var(--btn-secondary-hover);
  
  /* Map status colors */
  --success: var(--color-success);
  --danger: var(--color-error);
  
  /* Other legacy mappings */
  --primary-blue: var(--brand-primary);
  --primary-dark: var(--brand-dark);
  --primary-green: var(--brand-secondary);
  --primary-red: var(--color-error);
  --accent-purple: var(--brand-primary);
  --accent-orange: var(--brand-secondary);
  
  --bg-primary: var(--home-card-bg);
  --bg-secondary: var(--home-background);
  --bg-tertiary: var(--home-sequence-bg);
  
  --text-primary: var(--home-text-primary);
  --text-secondary: var(--home-text-secondary);
  --text-muted: var(--home-text-secondary);
  --text-white: var(--nav-text);
  
  --border-light: var(--border-light);
  --border-medium: var(--border-medium);
  --border-dark: var(--home-text-secondary);
  
  /* Page-specific legacy mappings */
  --landing-primary: var(--brand-primary);
  --landing-secondary: var(--brand-secondary);
  --landing-accent: var(--brand-accent);
  --landing-dark: var(--brand-dark);
  
  --tool-primary: var(--brand-primary);
  --tool-secondary: var(--brand-secondary);
  --tool-accent: var(--brand-accent);
  --tool-light: var(--tool-section-bg);
  
  --doc-primary: var(--brand-primary);
  --doc-secondary: var(--brand-secondary);
  --doc-accent: var(--brand-accent);
  --doc-light: var(--doc-header-bg);
  
  --team-primary: var(--brand-primary);
  --team-secondary: var(--brand-secondary);
  --team-accent: var(--brand-accent);
  --team-light: var(--team-header-bg);
  
  --results-primary: var(--results-module-bg);
  --results-secondary: var(--brand-secondary);
  --results-accent: var(--brand-accent);
  --results-light: var(--results-content-bg);
  
  /* Button legacy mappings */
  --btn-primary: var(--btn-primary);
  --btn-secondary: var(--btn-secondary);
  --btn-success: var(--btn-secondary);
  --btn-danger: var(--color-error);
  
  /* Neutral color system mapping */
  --neutral-50: var(--home-card-bg);
  --neutral-100: var(--brand-accent);
  --neutral-200: var(--border-light);
  --neutral-300: var(--border-medium);
  --neutral-400: var(--home-text-secondary);
  --neutral-500: var(--home-text-secondary);
  --neutral-600: var(--brand-primary);
  --neutral-700: var(--brand-dark);
  --neutral-800: var(--brand-dark);
  --neutral-900: var(--brand-dark);
  
  /* Final legacy color mappings */
  --primary-navy: var(--brand-dark);
  --primary-teal: var(--brand-secondary);
  --primary-orange: var(--brand-accent);
  
  /* ============================================================
     🔤 TYPOGRAPHY & SPACING - Modern scientific fonts
     ============================================================ */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-mono: 'Fira Code', 'JetBrains Mono', 'Courier New', monospace;
  --font-sequence: 'Fira Code', 'JetBrains Mono', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Animations */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================
   📖 HOW TO CUSTOMIZE COLORS
   ================================================================
   
   🎯 QUICK GUIDE:
   1. Find the section you want to change above (🏠 Homepage, 🧪 Tool Page, etc.)
   2. Change the hex color codes (like #7493b0) to your preferred colors
   3. Save the file and refresh your browser
   
   💡 EXAMPLES:
   - To change navigation bar: Modify --nav-background
   - To change button colors: Modify --btn-primary and --btn-secondary  
   - To change homepage: Modify colors in 🏠 HOMEPAGE COLORS section
   - To change results page: Modify colors in 📋 RESULTS PAGE COLORS section
   
   ⚠️ IMPORTANT:
   - Always use valid hex colors (like #FF0000 for red)
   - Don't modify the "Legacy Support" section
   - Test your changes on all pages
   
   🌈 COLOR PICKER TOOLS:
   - Google "color picker" for an online tool
   - Use https://coolors.co for color palettes
   - Adobe Color: https://color.adobe.com
   
   ================================================================ */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: #F9FAFB;
  min-height: 100vh;
  line-height: 1.7;
  color: #1E293B;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

/* General Heading Styles - Clean Scientific Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.025em;
}

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

h2 { 
  font-size: 2.25rem; 
  font-weight: 600; 
  color: var(--brand-dark);
  line-height: 1.25;
  margin-bottom: var(--space-xl);
}

h3 { 
  font-size: 1.75rem; 
  font-weight: 600; 
  color: var(--brand-dark);
  margin-bottom: var(--space-lg);
}

h4 { 
  font-size: 1.375rem; 
  font-weight: 600; 
  color: var(--brand-dark);
  margin-bottom: var(--space-lg);
}

h5, h6 { 
  font-size: 1.125rem; 
  font-weight: 600; 
  color: var(--brand-dark);
  margin-bottom: var(--space-md);
}

/* Body text with generous spacing */
p, li, span, div {
  color: var(--brand-dark);
  line-height: 1.7;
}

p {
  margin-bottom: var(--space-lg);
  font-size: 1.0625rem;
}

ul, ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

/* Simple Navigation - GitHub Style */
.navbar {
  background: rgba(249, 250, 251, 0.95);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(30, 58, 138, 0.1);
  padding: var(--space-lg) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: 0 1px 3px rgba(30, 58, 138, 0.05);
}

.navbar.scrolled {
  background: rgba(249, 250, 251, 0.98);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(30, 58, 138, 0.15);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-image {
  height: 40px;
  width: auto;
  background: white;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-normal);
}

.logo-image:hover {
  transform: scale(1.05);
}

.nav-logo h2 {
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.nav-link {
  text-decoration: none;
  color: var(--neutral-700);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-primary);
  background: rgba(30, 58, 138, 0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--brand-primary);
  border-radius: 50%;
}

/* Advanced Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-normal);
}

.hamburger:hover {
  background: var(--neutral-100);
}

.bar {
  width: 24px;
  height: 2px;
  background: var(--neutral-700);
  margin: 2px 0;
  transition: all var(--transition-normal);
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

/* Scientific Header */
.tool-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--brand-primary);
  border-radius: var(--radius-lg);
  color: white;
  position: relative;
  border: none;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
  animation: fadeInUp 1s ease-out;
  margin-top: var(--space-xl);
}


.tool-header h1 {
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tool-header p {
  color: #FFFFFF;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

/* Institution Logos */
.institution-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  position: relative;
  z-index: 1;
}

.institution-logo {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all var(--transition-normal);
}

.institution-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Advanced Main Content */
.main-content {
  display: grid;
  gap: var(--space-xl);
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Advanced Input Section */
.input-section {
  background: var(--bg-primary);
  padding: var(--space-3xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  position: relative;
  margin-bottom: var(--space-2xl);
}

.input-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-blue);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.input-section:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.form-group {
  margin-bottom: var(--space-2xl);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-md);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.form-control {
  width: 100%;
  padding: var(--space-lg);
  border: 2px solid #2D3748;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-family: var(--font-primary);
  transition: border-color var(--transition-normal);
  background: #FFFFFF;
  color: #1A202C;
}

.form-control:focus {
  outline: none;
  border-color: #1A202C;
  background: #FFFFFF;
  box-shadow: 0 0 0 2px rgba(26, 32, 44, 0.1);
}

/* Compact Spacer Inputs */
.spacer-inputs {
  margin-bottom: var(--space-xl);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.spacer-group {
  position: relative;
  transition: transform var(--transition-normal);
}

.spacer-group:hover {
  transform: translateY(-2px);
}

.spacer-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.spacer-input {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  border: 2px solid #2D3748;
  padding: var(--space-md);
  font-size: 1rem;
  background: #FFFFFF;
  color: #1A202C;
  transition: border-color var(--transition-normal);
  width: 100%;
  border-radius: var(--radius-sm);
}

.spacer-input:focus {
  border-color: #1A202C;
  background: #FFFFFF;
  box-shadow: 0 0 0 2px rgba(26, 32, 44, 0.1);
  outline: none;
}

.input-counter {
  position: absolute;
  right: var(--space-sm);
  bottom: var(--space-sm);
  font-size: 0.75rem;
  color: var(--neutral-500);
  font-family: var(--font-mono);
  font-weight: 500;
  background: white;
  padding: 2px var(--space-xs);
  border-radius: var(--radius-sm);
  border: 1px solid var(--neutral-300);
  pointer-events: none;
}

/* Advanced Button Styling */
.button-group {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
  padding: var(--space-lg) var(--space-xl);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
  min-width: 160px;
  justify-content: center;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}


.btn-primary {
  background: var(--brand-primary);
  color: white;
  border: none;
  padding: var(--space-lg) var(--space-xl);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 4px rgba(30, 58, 138, 0.15);
}

.btn-primary:hover {
  background: #1E40AF;
  box-shadow: 0 4px 8px rgba(30, 58, 138, 0.25);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(30, 58, 138, 0.2);
}

.btn-secondary {
  background: var(--brand-secondary);
  color: white;
  border: none;
  padding: var(--space-lg) var(--space-xl);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 4px rgba(14, 165, 233, 0.15);
}

.btn-secondary:hover {
  background: #0284C7;
  box-shadow: 0 4px 8px rgba(14, 165, 233, 0.25);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(14, 165, 233, 0.2);
}

.btn-info {
  background: var(--brand-accent);
  color: white;
  border: none;
  padding: var(--space-lg) var(--space-xl);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.15);
}

.btn-info:hover {
  background: #059669;
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}

.btn-info:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(16, 185, 129, 0.2);
}

/* Advanced Results Styling */
.results-section {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
}

/* Scientific Sequence Display */
.sequence-box {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.8;
  word-break: break-all;
  letter-spacing: 1px;
  border: 2px solid var(--border-dark);
  position: relative;
}

.sequence-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-green);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.sequence-label {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Scientific Module Design */
.scientific-module {
  margin-bottom: var(--space-2xl);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.scientific-module:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.module-header-sci {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--primary-blue);
}

.module-header-sci h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.module-type {
  background: rgba(255, 255, 255, 0.2);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.primer-section, .product-section, .digest-section {
  padding: var(--space-xl);
  border-bottom: 1px solid var(--neutral-200);
}

.primer-section:last-child, .product-section:last-child, .digest-section:last-child {
  border-bottom: none;
}

.primer-section h4, .product-section h4, .digest-section h4 {
  margin: 0 0 var(--space-lg) 0;
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--primary-blue);
}

.primer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.primer-box {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.forward-primer {
  background: rgba(22, 163, 74, 0.05);
  border: 2px solid var(--primary-green);
}

.reverse-primer {
  background: rgba(220, 38, 38, 0.05);
  border: 2px solid var(--primary-red);
}

.primer-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.primer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.enzyme-tag {
  background: var(--accent-purple);
  color: var(--text-white);
  padding: 2px var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sequence-container {
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 2px solid var(--border-dark);
}

.sequence-text {
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  word-break: break-all;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

.sequence-info {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: right;
  font-family: var(--font-mono);
}

.product-box {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.pcr-product {
  background: rgba(37, 99, 235, 0.05);
  border: 2px solid var(--primary-blue);
}

.digest-product {
  background: rgba(124, 58, 237, 0.05);
  border: 2px solid var(--accent-purple);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-dark);
}

.product-length {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* Legacy compact module styles for backward compatibility */
.compact-module {
  margin-bottom: var(--space-xl);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-200);
  overflow: hidden;
  transition: all var(--transition-normal);
}

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

.module-title {
  background: var(--primary);
  color: white;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.sequence-grid {
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.sequence-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.sequence-item.full-width {
  grid-column: 1 / -1;
}

.seq-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--space-xs) var(--space-sm);
  background: var(--neutral-100);
  border-radius: var(--radius-sm);
  text-align: center;
}

.seq-box {
  background: var(--neutral-900);
  color: var(--neutral-100);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  word-break: break-all;
  line-height: 1.4;
  letter-spacing: 0.5px;
  border: 1px solid var(--neutral-700);
  min-height: 60px;
  display: flex;
  align-items: center;
}

/* Legacy Module Sections for backward compatibility */
.module-section {
  margin-bottom: var(--space-2xl);
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
  transition: all var(--transition-normal);
}

.module-section:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.module-header {
  background: var(--fg-default);
  color: white;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.module-header::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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.module-header h3 {
  margin: 0 0 var(--space-sm) 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.module-info {
  opacity: 0.9;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* Advanced Primer Cards */
.primers-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl);
  background: var(--neutral-50);
}

.primer-card {
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.primer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

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

.primer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--neutral-200);
}

.primer-name {
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 1.1rem;
  font-family: var(--font-display);
}

.primer-type {
  color: var(--neutral-600);
  font-size: 0.85rem;
  font-weight: 500;
}

.enzyme-badge {
  background: var(--success);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.primer-sequence {
  background: var(--neutral-900);
  color: var(--neutral-100);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  word-break: break-all;
  margin-bottom: var(--space-md);
  line-height: 1.6;
  letter-spacing: 1px;
  border: 1px solid var(--neutral-700);
}

.primer-info {
  font-size: 0.9rem;
  color: var(--neutral-600);
  font-weight: 500;
}

/* Advanced PCR Section */
.pcr-section {
  padding: var(--space-xl);
  background: white;
}

.process-card {
  margin-bottom: var(--space-xl);
  padding: var(--space-xl);
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-blue);
  transition: all var(--transition-normal);
}

.process-card:hover {
  background: var(--neutral-100);
  border-left-color: var(--primary-teal);
}

.process-card h4 {
  margin: 0 0 var(--space-lg) 0;
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 1.2rem;
  font-family: var(--font-display);
}

.sequence-display {
  background: #1E293B;
  color: #F1F5F9;
  padding: var(--space-xl);
  border-radius: 12px;
  font-family: var(--font-sequence);
  font-size: 0.95rem;
  word-break: break-all;
  margin-bottom: var(--space-md);
  line-height: 1.8;
  letter-spacing: 1.5px;
  border: 2px solid rgba(30, 58, 138, 0.2);
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.1);
  font-feature-settings: 'liga' 0, 'calt' 0;
}

.process-info {
  font-size: 0.9rem;
  color: var(--neutral-600);
  font-weight: 500;
}

/* Home Page Design */
/* Clean Vertical Home Page Layout */
.home-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  animation: fadeInUp 0.8s ease-out;
}

/* Unified Section */
.unified-section {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.unified-header {
  background: var(--brand-primary);
  color: white;
  padding: var(--space-xl);
  text-align: center;
  position: relative;
}


.unified-header h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
  color: white;
}

.unified-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.description-part {
  padding: var(--space-lg);
  background: white;
}

.description-part p {
  font-size: 0.95rem;
  color: #1A202C;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: var(--space-md);
}

.workflow-part {
  padding: var(--space-lg);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--neutral-200);
}

.cta-container {
  text-align: center;
  margin-top: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--neutral-200);
}

.tool-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-xl);
  background: var(--brand-primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-display);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
  letter-spacing: 0.01em;
  position: relative;
}

.tool-button:hover {
  background: #1E40AF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Workflow Section */
.workflow-section {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
}

.workflow-header {
  background: var(--neutral-50);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  border-bottom: 1px solid var(--neutral-200);
}

.workflow-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin: 0;
}

.workflow-image {
  padding: var(--space-lg);
  text-align: center;
  background: white;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workflow-diagram {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--neutral-300);
  transition: all var(--transition-normal);
}

.workflow-diagram:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Sequences Section */
.sequences-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.sequences-header {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(135deg, #F0F9FF 0%, #FFFFFF 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(30, 58, 138, 0.1);
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.08);
  position: relative;
  overflow: hidden;
}

.sequences-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1E3A8A 0%, #0EA5E9 50%, #84CC16 100%);
}

.sequences-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin: 0;
  position: relative;
  z-index: 1;
}

.sequence-card {
  background: white;
  border-radius: 4px;
  border: 1px solid #D1E5F7;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.sequence-card:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: var(--neutral-50);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--neutral-200);
}

.card-header h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.sequence-display {
  padding: var(--space-xl);
  font-family: var(--font-sequence);
  font-size: 0.95rem;
  line-height: 1.8;
  word-break: break-all;
  letter-spacing: 1.5px;
  color: #1E293B;
  background: linear-gradient(135deg, #F0F9FF 0%, #F9FAFB 100%);
  border-radius: 10px;
  border: 1px solid rgba(30, 58, 138, 0.1);
  font-feature-settings: 'liga' 0, 'calt' 0;
}

/* Color coding for sequences */
.seq-prefix, .seq-suffix {
  color: #2D3748;
}

.seq-grna {
  background: var(--grna-light);
  color: var(--grna-text);
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 600;
}

.seq-trna {
  background: var(--trna-light);
  color: var(--trna-text);
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 600;
}

/* Specific card styling */
.grna-card .card-header {
  background: var(--grna-primary);
  border-bottom-color: var(--grna-primary);
}

.grna-card .card-header h4 {
  color: #FFFFFF;
  font-weight: 600;
}

.grna-card .sequence-display {
  background: var(--grna-light);
  color: var(--grna-primary);
  font-weight: 500;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.trna-card .card-header {
  background: var(--trna-primary);
  border-bottom-color: var(--trna-primary);
}

.trna-card .card-header h4 {
  color: #FFFFFF;
  font-weight: 600;
}

.trna-card .sequence-display {
  background: var(--trna-light);
  color: var(--trna-primary);
  font-weight: 500;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.home-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
  min-height: 60vh;
}

.home-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.text-container {
  background: var(--bg-canvas);
  border: 2px solid var(--landing-accent);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.text-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.home-description h2 {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: var(--space-xl);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.home-description p {
  font-size: 1.05rem;
  color: var(--neutral-700);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  text-align: justify;
  position: relative;
  z-index: 1;
}

.text-container .tool-nav-arrow {
  margin-top: var(--space-lg);
  align-self: flex-end;
  background: var(--primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
}

.text-container .tool-nav-arrow:hover {
  transform: translateX(8px) scale(1.1);
  box-shadow: var(--shadow-xl);
  background: var(--primary);
}

/* Template Sequence Styles */
.template-section {
  margin-top: var(--space-4xl);
  background: var(--bg-canvas);
  border: 2px solid var(--landing-accent);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.template-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.template-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.template-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--landing-primary);
  margin: 0 0 var(--space-sm) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.template-header p {
  color: var(--neutral-600);
  margin: 0;
  font-size: 0.95rem;
  font-style: italic;
}

.sequence-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.sequence-box {
  background: var(--bg-subtle);
  border: 2px solid var(--landing-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.sequence-label {
  color: var(--landing-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--space-md);
  text-align: center;
}

.sequence-content {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  word-break: break-all;
  letter-spacing: 1px;
  color: var(--neutral-700);
  background: rgba(255, 255, 255, 0.8);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
}

.seq-prefix, .seq-suffix {
  color: #2D3748;
}

.seq-grna {
  color: var(--grna-text);
  background: var(--grna-light);
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 600;
}

.seq-trna {
  color: var(--trna-text);
  background: var(--trna-light);
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 600;
}

.sequence-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.component-box {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid;
}

.grna-component {
  background: var(--bg-subtle);
  border-color: var(--landing-primary);
}

.trna-component {
  background: var(--bg-subtle);
  border-color: var(--landing-accent);
}

.component-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.grna-component .component-label {
  color: var(--landing-primary);
}

.trna-component .component-label {
  color: var(--landing-accent);
}

.component-sequence {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  word-break: break-all;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.9);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
}

.grna-component .component-sequence {
  color: var(--landing-primary);
  font-weight: 500;
}

.trna-component .component-sequence {
  color: var(--landing-accent);
  font-weight: 500;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--landing-accent);
  transition: all var(--transition-normal);
}

.feature-item:hover {
  background: var(--neutral-100);
  transform: translateX(4px);
  border-left-color: var(--landing-secondary);
}

.feature-item i {
  color: var(--landing-accent);
  font-size: 1.2rem;
  width: 20px;
}

.feature-item span {
  font-weight: 500;
  color: var(--neutral-700);
}

.tool-nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 2rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  align-self: flex-start;
}

.tool-nav-arrow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--bg-canvas);
  transition: left var(--transition-slow);
}

.tool-nav-arrow:hover::before {
  left: 100%;
}

.tool-nav-arrow:hover {
  transform: scale(1.1) translateX(8px);
  box-shadow: var(--shadow-xl);
}

.home-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.design-figure {
  position: relative;
  width: 100%;
  max-width: 1000px;
  text-align: center;
  margin: 0 auto;
}

.ptg-diagram {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--landing-accent);
  transition: all var(--transition-normal);
}

.ptg-diagram:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.2);
}

.figure-caption {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
  border: 1px solid var(--landing-accent);
}

/* Enhanced Home Page Styles */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
  min-height: 60vh;
  padding: var(--space-2xl) 0;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.main-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-dark);
  margin: 0;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--neutral-600);
  margin: 0;
  font-weight: 500;
}

.hero-figure {
  display: flex;
  justify-content: center;
  align-items: center;
}

.figure-container {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.hero-diagram {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--landing-accent);
  transition: all var(--transition-normal);
}

.hero-diagram:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.figure-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: white;
  padding: var(--space-lg);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  transition: all var(--transition-normal);
}

.figure-container:hover .figure-overlay {
  transform: translateY(0);
}

.figure-overlay h3 {
  margin: 0 0 var(--space-xs) 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.figure-overlay p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Features Section */
.features-section {
  margin: var(--space-4xl) 0;
  padding: var(--space-3xl) 0;
  background: var(--bg-subtle);
  border-radius: var(--radius-2xl);
}

.feature-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
  padding: 0 var(--space-xl);
}

.feature-card {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
  transition: all var(--transition-normal);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--landing-accent);
}

.feature-icon {
  font-size: 3rem;
  color: var(--landing-primary);
  margin-bottom: var(--space-lg);
  display: block;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--landing-primary);
  margin: 0 0 var(--space-md) 0;
}

.feature-card p {
  color: var(--neutral-600);
  line-height: 1.6;
  margin: 0;
}

/* Science Section */
.science-section {
  margin: var(--space-4xl) 0;
  padding: var(--space-3xl) 0;
}

.science-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--landing-primary);
  margin: 0 0 var(--space-3xl) 0;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xl);
}

.method-step {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-200);
  transition: all var(--transition-normal);
}

.method-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--landing-secondary);
}

.step-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.step-content h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--landing-primary);
  margin: 0 0 var(--space-sm) 0;
}

.step-content p {
  color: var(--neutral-600);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Call to Action Section */
.cta-section {
  margin: var(--space-4xl) 0;
  padding: var(--space-3xl);
  background: var(--primary);
  border-radius: var(--radius-2xl);
  text-align: center;
  color: white;
}

.cta-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 var(--space-md) 0;
}

.cta-content p {
  font-size: 1.1rem;
  margin: 0 0 var(--space-2xl) 0;
  opacity: 0.9;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-2xl);
  background: var(--landing-accent);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.cta-button:hover {
  background: var(--landing-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* Home Page Mobile Responsive */
@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
    min-height: auto;
  }
  
  .main-title {
    font-size: 2.2rem;
  }
}

.figure-caption h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--landing-primary);
  margin-bottom: var(--space-xs);
}

.figure-caption p {
  font-size: 0.9rem;
  color: var(--neutral-600);
  margin: 0;
}

.science-visual {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  border-radius: 50%;
  border: 2px solid var(--neutral-200);
  animation: pulse 3s ease-in-out infinite;
}

.dna-helix {
  font-size: 4rem;
  color: var(--primary-blue);
  margin-bottom: var(--space-md);
  animation: rotate 10s linear infinite;
}

.molecule-structure {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.molecule-node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary-teal);
  border-radius: 50%;
  animation: float 2s ease-in-out infinite;
}

.molecule-node:nth-child(1) {
  top: 20%;
  left: 30%;
  animation-delay: 0s;
}

.molecule-node:nth-child(2) {
  top: 30%;
  right: 25%;
  animation-delay: 0.5s;
}

.molecule-node:nth-child(3) {
  bottom: 25%;
  left: 40%;
  animation-delay: 1s;
}

.molecule-connection {
  position: absolute;
  width: 2px;
  height: 60px;
  background: var(--neutral-400);
  opacity: 0.6;
}

.molecule-connection:nth-child(4) {
  top: 25%;
  left: 35%;
  transform: rotate(45deg);
}

.molecule-connection:nth-child(5) {
  top: 35%;
  right: 35%;
  transform: rotate(-45deg);
}

.science-text {
  text-align: center;
  margin-top: var(--space-lg);
  position: relative;
  z-index: 1;
}

.science-text h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: var(--space-xs);
}

.science-text p {
  font-size: 0.85rem;
  color: var(--neutral-600);
  font-style: italic;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  padding: var(--space-2xl);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--neutral-50);
  transition: all var(--transition-normal);
}

.stat-item:hover {
  background: var(--neutral-100);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--neutral-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Animations */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

/* Advanced Team Grid */
.team-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-md);
  justify-content: flex-start;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
  padding: 0;
  overflow-x: auto;
  overflow-y: visible;
}

/* Info Section Styling */
.info-section {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  clear: both;
}

.team-member {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-200);
  transition: all var(--transition-normal);
  position: relative;
  overflow: visible;
  flex: 0 0 auto;
  width: 250px;
  min-height: 420px;
  flex-shrink: 0;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--team-primary) 0%, var(--team-accent) 50%, var(--team-secondary) 100%);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--team-primary) 0%, var(--team-accent) 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: var(--shadow-md);
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.member-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: #1A202C;
  font-family: var(--font-display);
  line-height: 1.3;
}

.member-role {
  color: #2D3748;
  font-weight: 400;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.member-bio {
  color: var(--neutral-600);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Info Cards */
.info-cards {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: var(--space-xl);
}

.info-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

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

.info-card h3 {
  margin-bottom: var(--space-lg);
  color: var(--team-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}

.info-card h3 i {
  color: var(--team-primary);
}

/* Modern Scientific Footer */
.footer {
  background: var(--brand-dark);
  color: white;
  padding: var(--space-2xl) var(--space-md);
  margin-top: var(--space-3xl);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-top: 4px solid var(--brand-secondary);
  position: relative;
}


.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-left, .footer-right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

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

.footer-center h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: #FFFFFF;
}

.footer-center p {
  margin-bottom: var(--space-xs);
  color: #E5E7EB;
  font-size: 0.9rem;
}

.footer-logo {
  height: 80px;
  width: auto;
  opacity: 0.95;
  margin: 0 10px;
  transition: all var(--transition-normal);
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.1);
}

.footer-logo:hover {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(14,165,233,0.3);
  border-color: #0ea5e9;
}

.visitor-counter {
  background: #E8F2FF;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  border: 1px solid #D1E5F7;
  color: #1F2937;
}

.visitor-counter i {
  color: #6A89A7;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  color: #D1D5DB;
  padding-top: var(--space-sm);
}

.footer-bottom p {
  margin: var(--space-xs) 0;
  line-height: 1.4;
  color: #D1D5DB;
}

.footer-bottom p:first-child {
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-bottom p:last-child {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Error and Success States */
.error {
  border-color: #dc2626 !important;
  background-color: #fef2f2;
}

.success {
  border-color: var(--primary-green) !important;
  background-color: #f0fdf4;
}

.error-message {
  color: #dc2626;
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: #fef2f2;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid #fecaca;
}

/* Loading Animation */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Advanced Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-xl);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--neutral-200);
  }

  .nav-menu.active {
    left: 0;
  }

  .container {
    padding: var(--space-md);
  }

  .tool-header {
    padding: var(--space-xl) var(--space-md);
  }

  .tool-header h1 {
    font-size: 1.8rem;
  }

  /* Keep input sections readable */
  .input-section {
    padding: var(--space-lg);
  }

  /* Stack grids vertically on mobile */
  .primers-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .button-group {
    flex-direction: column;
    gap: var(--space-sm);
  }

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

  /* Home page mobile adjustments */
  .unified-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .workflow-part {
    border-left: none;
    border-top: 1px solid var(--neutral-200);
  }

  .sequences-section {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Team page mobile */
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .tool-header h1 {
    font-size: 1.5rem;
  }
  
  .tool-header {
    padding: var(--space-lg) var(--space-sm);
  }

  .container {
    padding: var(--space-sm);
  }

  .input-section {
    padding: var(--space-md);
  }

  .sequence-display {
    font-size: 0.8rem;
    padding: var(--space-md);
  }
}

/* ============================================================
   🧬 UNIQUE SPACER COLOR TRACKING - Individual spacer colors
   ============================================================ */
.spacer-tracked {
  font-weight: bold;
  padding: 1px 2px;
  border-radius: 2px;
  position: relative;
  z-index: 10;
}

/* Enhanced enzyme site styling for better visibility */
.seq-tRNA {
  background-color: #008000 !important;
  color: #FFFFFF !important;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 3px;
}

.seq-gRNA-scaffold {
  background-color: #8B008B !important;
  color: #FFFFFF !important;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 3px;
}

.seq-spacer {
  background-color: #FF0000 !important;
  color: #FFFFFF !important;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 3px;
}

.seq-bsaI {
  background-color: #00BFFF !important;
  color: #FFFFFF !important;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 4px;
  border: 2px solid #0066CC !important;
  z-index: 15 !important;
  position: relative;
  box-shadow: 0 0 6px rgba(0, 191, 255, 0.6);
}

.seq-fokI {
  background-color: #FFFF00 !important;
  color: #000000 !important;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 4px;
  border: 2px solid #FF8C00 !important;
  z-index: 15 !important;
  position: relative;
  box-shadow: 0 0 6px rgba(255, 255, 0, 0.6);
}

.seq-polyA {
  background-color: #8A2BE2 !important;
  color: #FFFFFF !important;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 3px;
}

.spacer-text {
  color: #FF0000 !important;
  font-weight: bold;
  background: none !important;
  padding: 0;
  border: none !important;
}

/* Print Styles */
@media print {
  .navbar,
  .button-group,
  .footer {
    display: none;
  }

  .container {
    max-width: none;
    padding: 0;
  }

  .results-section {
    box-shadow: none;
    background: white;
  }

  * {
    color: black !important;
    background: white !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --neutral-50: #ffffff;
    --neutral-100: #f5f5f5;
    --neutral-900: #000000;
    --primary-blue: #0000ff;
  }
}


/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}