/* styles.css - Custom Premium Styling for seafoodbroker.co.uk */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Colors */
  --color-bg-darkest: #040a15;
  --color-bg-dark: #0a1324;
  --color-bg-card: rgba(10, 25, 47, 0.7);
  --color-bg-glass: rgba(10, 19, 36, 0.75);
  
  --color-primary: #4facfe;
  --color-primary-rgb: 79, 172, 254;
  --color-secondary: #00f2fe;
  --color-secondary-rgb: 0, 242, 254;
  
  --color-accent-coral: #ff6b6b;
  --color-accent-gold: #ffbe0b;
  --color-success: #10b981;
  --color-success-rgb: 16, 185, 129;
  
  --color-text-white: #ffffff;
  --color-text-light: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-text-dark: #1e293b;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.2);
  --shadow-neon: 0 0 25px rgba(0, 242, 254, 0.15);
  --shadow-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) var(--color-bg-darkest);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-darkest);
  color: var(--color-text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-coral {
  background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism Common Style */
.glass-panel {
  background: var(--color-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 8px 32px 0 rgba(0, 242, 254, 0.08);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(4, 10, 21, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.5rem 0;
  background: rgba(4, 10, 21, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-text-white);
  transition: var(--transition-smooth);
}

.logo-img {
  height: 48px;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Ticker Status Indicator */
.status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-success);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-bg-darkest);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-white);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-outline-glow {
  background: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.btn-outline-glow:hover {
  background: rgba(0, 242, 254, 0.1);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-white);
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, rgba(79, 172, 254, 0.15) 0%, transparent 50%),
              linear-gradient(180deg, rgba(4, 10, 21, 0.6) 0%, rgba(4, 10, 21, 0.95) 100%),
              url('assets/images/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  padding-top: 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--color-text-white);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text-white);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Floating Mock Graphic (Glass Card) */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
}

.floating-card {
  width: 100%;
  max-width: 380px;
  padding: 2rem;
  border-radius: 20px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.floating-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  z-index: -1;
  border-radius: 21px;
  opacity: 0.3;
}

.card-header-mock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1rem;
}

.badge-fresh {
  background: rgba(255, 126, 95, 0.15);
  border: 1px solid rgba(255, 126, 95, 0.3);
  color: #ff7e5f;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.card-body-mock {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.mock-row .label {
  color: var(--color-text-muted);
}

.mock-row .val {
  color: var(--color-text-white);
  font-weight: 600;
}

.mock-buyer-match {
  margin-top: 1rem;
  background: rgba(0, 242, 254, 0.05);
  border: 1px dashed var(--color-secondary);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.mock-buyer-match span {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.mock-buyer-match strong {
  color: var(--color-secondary);
  font-size: 1.05rem;
  font-family: var(--font-heading);
}

/* Live Trades Ticker Bar */
.ticker-section {
  padding: 0;
  background: var(--color-bg-dark);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
  height: 60px;
  display: flex;
  align-items: center;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.ticker-title {
  background: var(--color-bg-darkest);
  color: var(--color-secondary);
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 0 2rem;
  font-size: 0.85rem;
  height: 60px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border-glass);
  z-index: 10;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.ticker-scroll {
  display: flex;
  align-items: center;
  gap: 4rem;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
  padding-left: 2rem;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.ticker-item .tag {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--color-success);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.ticker-item .text {
  color: var(--color-text-white);
  font-weight: 500;
}

.ticker-item .meta {
  color: var(--color-text-muted);
}

/* How It Works Section */
.how-it-works-toggle {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.toggle-btn {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--color-text-muted);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.toggle-btn.active {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-bg-darkest);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.section-title-wrap h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 1rem;
}

.section-title-wrap p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.steps-container {
  position: relative;
}

.steps-view {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.steps-view.active {
  display: grid;
  animation: fadeIn 0.5s ease-in-out;
}

.step-card {
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1.5rem;
  opacity: 0.15;
  transition: var(--transition-smooth);
}

.step-card:hover .step-number {
  opacity: 0.5;
  transform: translateY(-5px);
  color: var(--color-secondary);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-white);
  margin-bottom: 1rem;
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Listings Board Section */
.listings {
  background: radial-gradient(circle at 10% 80%, rgba(0, 242, 254, 0.05) 0%, transparent 40%);
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.search-box {
  position: relative;
  flex-grow: 1;
  max-width: 450px;
}

.search-box input {
  width: 100%;
  background: var(--color-bg-dark);
  border: 1px solid var(--border-glass);
  color: var(--color-text-white);
  padding: 0.85rem 1rem 0.85rem 3rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.search-box input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(79, 172, 254, 0.2);
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.filter-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--color-text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tag:hover, .filter-tag.active {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.listings-board {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.listings-container-inner {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

.listings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.listings-table th {
  background: rgba(4, 10, 21, 0.8);
  padding: 1.25rem 1.5rem;
  color: var(--color-text-muted);
  font-weight: 600;
  font-family: var(--font-heading);
  border-bottom: 1px solid var(--border-glass);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.listings-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  color: var(--color-text-light);
}

.listings-table tr {
  transition: var(--transition-smooth);
}

.listings-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.listings-table tr:last-child td {
  border-bottom: none;
}

.species-cell {
  font-weight: 600;
  color: var(--color-text-white);
  display: flex;
  flex-direction: column;
}

.species-sub {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.certification-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--color-success);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.certification-badge.none {
  background: rgba(255, 182, 0, 0.1);
  border: 1px solid rgba(255, 182, 0, 0.25);
  color: var(--color-accent-gold);
}

/* Registration Section */
.register {
  background: linear-gradient(180deg, rgba(4, 10, 21, 0.95) 0%, rgba(4, 10, 21, 0.7) 100%),
              radial-gradient(circle at 80% 80%, rgba(79, 172, 254, 0.1) 0%, transparent 50%);
}

.register-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.register-info h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.register-info p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-bullet {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-bullet-icon {
  background: rgba(0, 242, 254, 0.1);
  color: var(--color-secondary);
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.info-bullet-text h4 {
  font-family: var(--font-heading);
  color: var(--color-text-white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-bullet-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.register-form-container {
  padding: 3rem;
}

.form-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 2.5rem;
}

.form-tab-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.form-tab-btn.active {
  color: var(--color-secondary);
}

.form-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-secondary);
}

.register-form {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}

.register-form.active {
  display: flex;
  animation: fadeIn 0.4s ease-in-out;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(4, 10, 21, 0.5);
  border: 1px solid var(--border-glass);
  color: var(--color-text-white);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 10, 21, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.success-modal {
  max-width: 500px;
  width: 90%;
  padding: 3rem 2rem;
  text-align: center;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.active .success-modal {
  transform: scale(1);
}

.success-icon-box {
  width: 72px;
  height: 72px;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
  font-size: 2rem;
  color: var(--color-success);
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-modal h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-text-white);
  margin-bottom: 1rem;
}

.success-modal p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Trust / Logistical Network Section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.trust-card {
  padding: 2.5rem;
  text-align: center;
}

.trust-icon {
  width: 60px;
  height: 60px;
  background: rgba(79, 172, 254, 0.1);
  border: 1px solid rgba(79, 172, 254, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 1.6rem;
  color: var(--color-primary);
}

.trust-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text-white);
  margin-bottom: 0.75rem;
}

.trust-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Footer Section */
footer {
  background: var(--color-bg-darkest);
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-link {
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links h4 {
  font-family: var(--font-heading);
  color: var(--color-text-white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials a {
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.footer-socials a:hover {
  color: var(--color-secondary);
}

/* Keyframes Animations */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

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

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

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

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Breakpoints */
section {
  scroll-margin-top: 80px; /* Offset for fixed header */
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-graphic {
    order: 2; /* Position graphic below the text content on tablets/mobile */
  }
  .hero-content {
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 2.5rem auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .register-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .steps-view {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  .search-box {
    max-width: 100%;
  }
  .filter-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.5rem 0;
    width: 100%;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
  }
  .filter-tags::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari/Edge */
  }
  .filter-tag {
    white-space: nowrap;
    padding: 0.4rem 1rem;
  }
  
  /* Mobile Responsive Table Transformation */
  .listings-container-inner {
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .listings-table, 
  .listings-table thead, 
  .listings-table tbody, 
  .listings-table th, 
  .listings-table td, 
  .listings-table tr {
    display: block;
  }
  .listings-table thead {
    display: none; /* Hide headings on mobile */
  }
  .listings-table tr {
    background: var(--color-bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-glow);
  }
  .listings-table tr:hover {
    background: rgba(10, 25, 47, 0.9);
  }
  .listings-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
    text-align: right;
  }
  .listings-table td:last-child {
    border-bottom: none;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-glass);
  }
  .listings-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
  }
  .listings-table td:last-child::before {
    display: none;
  }
  .listings-table td:last-child .btn {
    width: 100%;
  }

  /* Form layouts stacking on mobile */
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .register-form-container {
    padding: 2rem 1.5rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--color-bg-darkest);
    flex-direction: column;
    padding: 3rem 2rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-glass);
    align-items: flex-start;
  }
  .nav-links.active {
    left: 0;
  }
  .nav-actions {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }
  .how-it-works-toggle {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .how-it-works-toggle .toggle-btn {
    width: 100%;
    text-align: center;
  }
  .section-title-wrap h2 {
    font-size: 2.2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
