/* Finna - Pure CSS Styles (converted from Tailwind) */

/* CSS Variables / Design Tokens */
:root {
  /* Colors */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(217, 75%, 15%);
  --border: hsl(217, 20%, 85%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(217, 75%, 15%);
  --primary: hsl(217, 75%, 32%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(217, 15%, 94%);
  --secondary-foreground: hsl(217, 75%, 32%);
  --muted: hsl(217, 15%, 94%);
  --muted-foreground: hsl(217, 20%, 45%);
  --accent: hsl(195, 100%, 45%);
  --accent-foreground: hsl(0, 0%, 100%);
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(0, 0%, 100%);

  /* Spacing */
  --radius: 0.5rem;

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Animation Timing Functions - Premium easing curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Top Banner (Sponsor) */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background-color: #0a1f40;
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  text-align: center;
}

.top-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.top-banner-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 0.5rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.top-banner-close:hover {
  opacity: 1;
}

/* Adjust header position when top banner is visible */
.top-banner + .header,
.top-banner ~ .header {
  top: 2.25rem;
}

/* Adjust hero section when top banner is visible */
.top-banner ~ main .hero,
.top-banner ~ .header ~ main .hero {
  padding-top: 7.25rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(20, 63, 144, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

/* Inline auth buttons — hidden on mobile (moved into the dropdown) */
.header-auth {
  display: none;
}

.header-logo-link {
  display: flex;
  align-items: center;
  position: relative;
}

.header-logo {
  height: 2.5rem;
  object-fit: contain;
  transition: transform 0.3s var(--ease-out-expo), filter 0.3s ease;
}

.header-logo-link:hover .header-logo {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.header-logo-link:active .header-logo {
  transform: scale(1.02);
  transition-duration: 0.1s;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(20, 63, 144, 0.75);
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  transition: all 0.25s var(--ease-out-quart);
  position: relative;
}

.header-nav a:hover {
  background-color: rgba(20, 63, 144, 0.06);
  color: var(--primary);
  transform: translateY(-2px);
}

.header-nav a:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 1px;
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.3s var(--ease-out-expo), width 0.3s var(--ease-out-expo);
}

.header-nav a:hover::after {
  width: 60%;
  transform: translateX(-50%) scaleX(1);
}

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.nav-toggle:hover {
  background-color: rgba(20, 63, 144, 0.06);
}

.nav-toggle-bar {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 0 auto;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile navigation dropdown */
.mobile-nav {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  background: #ffffff;
  border-top: 1px solid rgba(20, 63, 144, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: max-height 0.35s var(--ease-out-expo);
}

.mobile-nav.is-open {
  max-height: 26rem;
}

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(20, 63, 144, 0.85);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(20, 63, 144, 0.06);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav a:hover {
  background-color: rgba(20, 63, 144, 0.05);
  color: var(--primary);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.mobile-nav-actions a {
  padding: 0;
  border-bottom: none;
}

.mobile-nav-actions .btn {
  width: 100%;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s, opacity 0.2s;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, hsl(195, 100%, 40%) 100%);
  color: var(--accent-foreground);
  box-shadow: 0 4px 15px rgba(0, 186, 219, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.4s ease;
}

.btn-accent:hover::before {
  left: 100%;
}

.btn-accent:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 186, 219, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-accent:active {
  transform: translateY(-1px) scale(0.99);
  transition-duration: 0.1s;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
}

.btn-full {
  width: 100%;
}

/* Primary CTA Button - Header */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, hsl(217, 75%, 28%) 100%);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(20, 63, 144, 0.25), 0 1px 3px rgba(20, 63, 144, 0.15);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo), background 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-cta:hover::before {
  opacity: 1;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 63, 144, 0.35), 0 3px 8px rgba(20, 63, 144, 0.2);
  background: linear-gradient(135deg, hsl(217, 75%, 36%) 0%, var(--primary) 100%);
}

.btn-cta:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 1px 4px rgba(20, 63, 144, 0.2);
  transition-duration: 0.1s;
}

.btn-cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-cta .cta-arrow {
  transition: transform 0.25s var(--ease-spring);
}

.btn-cta:hover .cta-arrow {
  transform: translateX(4px);
}

.cta-link {
  text-decoration: none;
}

/* Hero CTA Button */
.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding: 1.25rem 3rem;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: #F4BB19;
    background-size: 200% 200%;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    box-shadow: 0 6px 30px rgba(255, 140, 0, 0.55), 0 3px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), background-position 0.5s ease;
    text-decoration: none;
    animation: hero-cta-glow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.btn-hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-hero-cta:hover::before {
  left: 100%;
}

@keyframes hero-cta-glow {
  0%, 100% {
    background-position: 0% 50%;
    box-shadow:
      0 6px 30px rgba(255, 140, 0, 0.55),
      0 3px 12px rgba(0, 0, 0, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    background-position: 100% 50%;
    box-shadow:
      0 6px 35px rgba(230, 60, 80, 0.6),
      0 3px 14px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
}

.btn-hero-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 50px rgba(255, 100, 50, 0.6),
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation-play-state: paused;
  background-position: 100% 50%;
}

.btn-hero-cta:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.5);
  transition-duration: 0.1s;
}

.btn-hero-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.btn-hero-cta .hero-cta-arrow {
  transition: transform 0.3s var(--ease-spring);
}

.btn-hero-cta:hover .hero-cta-arrow {
  transform: translateX(6px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 32, 80, 0.92) 0%,
    rgba(20, 63, 144, 0.85) 50%,
    rgba(10, 45, 100, 0.9) 100%
  );
}

.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(0, 186, 219, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(100, 120, 200, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 58rem;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 1.5rem;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.hero p.muted {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
}

.hero p.highlight {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.125rem;
}

/* Section Base */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, hsl(217, 20%, 98%) 0%, hsl(217, 15%, 96%) 100%);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

/* Subtle gradient underline on section titles */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
  transition: width 0.4s var(--ease-out-expo);
}

.section-title:hover::after {
  width: 5rem;
}

.section-title-center {
  text-align: center;
}

.section-subtitle {
  color: rgba(20, 63, 144, 0.75);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  font-size: 1.0625rem;
}

/* Grid Layout */
.grid-2 {
  display: grid;
  gap: 3rem;
}

.grid-3 {
  display: grid;
  gap: 2rem;
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
}

/* Blockchain Section */
.blockchain-section .section-image {
  max-width: 28rem;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(20, 63, 144, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
  will-change: transform;
}

.blockchain-section .section-image:hover {
  transform: translateY(-12px) scale(1.02) rotate(1deg);
  box-shadow: 0 35px 70px rgba(20, 63, 144, 0.22), 0 15px 35px rgba(0, 0, 0, 0.12);
}

.gnodi-section .section-image {
  max-width: 28rem;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(20, 63, 144, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
  will-change: transform;
}

.gnodi-section .section-image:hover {
  transform: translateY(-12px) scale(1.02) rotate(-1deg);
  box-shadow: 0 35px 70px rgba(20, 63, 144, 0.22), 0 15px 35px rgba(0, 0, 0, 0.12);
}

.content-text {
  color: rgba(20, 63, 144, 0.78);
  margin-bottom: 1.5rem;
  line-height: 1.75;
  font-size: 1.0625rem;
}

.content-heading {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

/* Check List */
.check-list {
  margin-bottom: 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.3s ease;
  cursor: default;
}

.check-list li:hover {
  transform: translateX(6px);
}

.check-list li:hover .check-icon {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 186, 219, 0.35);
}

.check-icon {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 186, 219, 0.25) 0%, rgba(0, 186, 219, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  box-shadow: 0 2px 6px rgba(0, 186, 219, 0.2);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.check-icon svg {
  width: 0.8rem;
  height: 0.8rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.check-list li:hover .check-icon svg {
  transform: scale(1.1);
}

.check-icon-primary {
  background: linear-gradient(135deg, rgba(20, 63, 144, 0.25) 0%, rgba(20, 63, 144, 0.15) 100%);
  box-shadow: 0 2px 6px rgba(20, 63, 144, 0.15);
}

.check-icon-primary svg {
  color: var(--primary);
}

.check-list span {
  color: rgba(20, 63, 144, 0.78);
  line-height: 1.5;
}

/* Info Box - Subtle Warm Accent */
.info-box {
  background: linear-gradient(135deg, rgba(180, 120, 90, 0.06) 0%, rgba(160, 130, 100, 0.04) 100%);
  border: 1px solid rgba(180, 120, 90, 0.12);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem 1.5rem 2rem;
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.info-box:hover {
  transform: translateX(6px);
  box-shadow:
    0 10px 30px rgba(180, 120, 90, 0.1),
    -6px 0 25px rgba(160, 130, 100, 0.08);
  background: linear-gradient(135deg, rgba(180, 120, 90, 0.1) 0%, rgba(160, 130, 100, 0.06) 100%);
}

/* Animated gradient left border - muted warm tones */
.info-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, hsl(25, 45%, 50%) 0%, hsl(35, 50%, 55%) 50%, hsl(25, 45%, 50%) 100%);
  background-size: 100% 200%;
  border-radius: 4px 0 0 4px;
  transition: width 0.4s var(--ease-out-expo);
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
}

.info-box:hover::before {
  width: 6px;
}

/* Decorative corner accent */
.info-box::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 5rem;
  height: 5rem;
  background: radial-gradient(circle at 100% 0%, rgba(180, 140, 100, 0.1) 0%, transparent 70%);
  pointer-events: none;
  transition: all 0.4s ease;
}

.info-box:hover::after {
  width: 7rem;
  height: 7rem;
  background: radial-gradient(circle at 100% 0%, rgba(180, 140, 100, 0.18) 0%, transparent 70%);
}

/* Teal accent variant */
.info-box-accent {
  background: linear-gradient(135deg, rgba(60, 150, 140, 0.06) 0%, rgba(80, 160, 170, 0.04) 100%);
  border-color: rgba(60, 150, 140, 0.15);
}

.info-box-accent:hover {
  background: linear-gradient(135deg, rgba(60, 150, 140, 0.1) 0%, rgba(80, 160, 170, 0.06) 100%);
  box-shadow:
    0 10px 30px rgba(60, 150, 140, 0.1),
    -6px 0 25px rgba(80, 160, 170, 0.08);
}

.info-box-accent::before {
  background: linear-gradient(180deg, hsl(175, 45%, 40%) 0%, hsl(190, 50%, 45%) 50%, hsl(175, 45%, 40%) 100%);
  background-size: 100% 200%;
}

.info-box-accent::after {
  background: radial-gradient(circle at 100% 0%, rgba(60, 150, 140, 0.12) 0%, transparent 70%);
}

.info-box-accent:hover::after {
  background: radial-gradient(circle at 100% 0%, rgba(60, 150, 140, 0.2) 0%, transparent 70%);
}

.info-box h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(25, 50%, 38%);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-box h3::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background: linear-gradient(135deg, hsl(25, 50%, 50%), hsl(35, 55%, 55%));
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.info-box-accent h3 {
    color: #007a66;
}

.info-box-accent h3::before {
  background: linear-gradient(135deg, hsl(175, 45%, 40%), hsl(190, 50%, 45%));
}

.info-box p {
  font-size: 0.9375rem;
  color: rgba(20, 63, 144, 0.8);
  line-height: 1.7;
  margin: 0;
}

/* Opportunity Cards */
.opportunity-card {
  background: linear-gradient(145deg, #ffffff 0%, hsl(217, 20%, 98%) 100%);
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid rgba(20, 63, 144, 0.08);
  box-shadow: 0 4px 20px rgba(20, 63, 144, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.opportunity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.opportunity-card:hover::before {
  transform: scaleX(1);
}

.opportunity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(20, 63, 144, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(20, 63, 144, 0.12);
}

.opportunity-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.opportunity-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}

.opportunity-card li svg {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--accent);
  margin-top: 0.2rem;
}

.opportunity-card li span {
  font-size: 0.9375rem;
  color: rgba(20, 63, 144, 0.78);
  line-height: 1.5;
}

/* Bottom Line Box - Solid Coral/Rose */
.bottom-line-box {
  background: hsl(350, 60%, 50%);
  color: white;
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  text-align: center;
  margin-top: 2.5rem;
  box-shadow:
    0 20px 50px rgba(200, 80, 80, 0.3),
    0 8px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
}

.bottom-line-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 35px 70px rgba(200, 80, 80, 0.35),
    0 15px 35px rgba(0, 0, 0, 0.2);
}

.bottom-line-box::before {
  display: none;
}

.bottom-line-box::after {
  display: none;
}

/* Decorative corner accents */
.bottom-line-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.bottom-line-box h3::before,
.bottom-line-box h3::after {
  content: '';
  position: absolute;
  width: 2rem;
  height: 2rem;
  border: 2px solid rgba(255, 220, 180, 0.45);
  transition: all 0.4s var(--ease-out-expo);
}

.bottom-line-box h3::before {
  top: -0.75rem;
  left: -1.5rem;
  border-right: none;
  border-bottom: none;
  border-radius: 0.5rem 0 0 0;
}

.bottom-line-box h3::after {
  bottom: -0.75rem;
  right: -1.5rem;
  border-left: none;
  border-top: none;
  border-radius: 0 0 0.5rem 0;
}

.bottom-line-box:hover h3::before,
.bottom-line-box:hover h3::after {
  width: 2.5rem;
  height: 2.5rem;
  border-color: rgba(255, 220, 180, 0.7);
}

.bottom-line-box p {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
  font-size: 1.0625rem;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.bottom-line-box .btn-read-more,
.bottom-line-box .btn-read-more-light,
.bottom-line-box .btn {
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

/* Update the light button for coral background */
.bottom-line-box .btn-read-more-light:hover {
  background: white;
  color: hsl(350, 65%, 45%);
  border-color: white;
}

/* Products Section */
.products-section {
  padding: 6rem 0 7rem;
  background: linear-gradient(150deg, hsl(217, 75%, 28%) 0%, hsl(220, 80%, 16%) 50%, hsl(225, 80%, 10%) 100%);
  position: relative;
  overflow: hidden;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 10% 10%, rgba(0, 186, 219, 0.18) 0%, transparent 35%),
    radial-gradient(ellipse at 90% 90%, rgba(100, 120, 200, 0.12) 0%, transparent 35%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 100, 150, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.products-section .section-title {
  color: white;
  text-align: center;
  margin-bottom: 0.75rem;
  position: relative;
  display: block;
  font-size: 2.5rem;
  letter-spacing: 0.02em;
}

.products-section .section-title::after {
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  width: 6rem;
}

.products-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3.5rem;
  position: relative;
  font-size: 1.125rem;
}

/* Product Card - Premium Glass Design */
.product-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 1.25rem;
  overflow: visible;
  padding: 1.5rem 1.25rem 1.5rem;
  text-align: center;
  transition: all 0.6s var(--ease-out-expo);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Animated gradient border container */
.product-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1.375rem;
  padding: 2px;
  background: conic-gradient(
    from 0deg,
    rgba(0, 186, 219, 0.6),
    rgba(100, 140, 255, 0.4),
    rgba(180, 100, 255, 0.3),
    rgba(0, 186, 219, 0.6)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
  animation: borderRotate 4s linear infinite;
  pointer-events: none;
}

@keyframes borderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Shine sweep animation for cards */
@keyframes cardShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(200%) rotate(45deg); }
}

/* Glow effect layer */
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  background:
    radial-gradient(ellipse at 50% -20%, rgba(0, 186, 219, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 120%, rgba(100, 140, 255, 0.1) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover::after {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(0, 186, 219, 0.25),
    0 0 100px rgba(0, 186, 219, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%);
}

/* Product card stacking context */
.product-card > * {
  position: relative;
  z-index: 2;
}

/* Product Image - Circular White Background */
.product-image-wrapper {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  transition: all 0.6s var(--ease-spring);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* Subtle inner gradient for depth */
.product-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 186, 219, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(100, 120, 180, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Premium shadow beneath on hover */
.product-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 15px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 186, 219, 0.4) 0%,
    transparent 70%
  );
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s var(--ease-spring);
}

.product-card:hover .product-image-wrapper::before {
  opacity: 1;
}

.product-card:hover .product-image-wrapper::after {
  opacity: 1;
  transform: translateX(-50%) translateY(5px);
}

.product-card:hover .product-image-wrapper {
  transform: translateY(-6px);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.2),
    0 6px 12px rgba(0, 186, 219, 0.15),
    inset 0 0 0 1px rgba(0, 186, 219, 0.2);
}

.product-image-wrapper img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  transition: transform 0.6s var(--ease-spring), filter 0.5s ease;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.15));
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 10px rgba(0, 186, 219, 0.15));
}

/* Make entire product card clickable */
.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.product-card-link:hover {
  text-decoration: none;
}

/* Product Card Typography - Premium Styling */
.product-card .product-size {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-out-expo);
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.4s var(--ease-out-expo);
}

.product-card:hover h3 {
  text-shadow: 0 2px 20px rgba(0, 186, 219, 0.3);
}

.product-card:hover .product-size {
  color: rgba(255, 255, 255, 0.9);
}

.product-card .price-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.625rem;
  margin-bottom: 0.125rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.product-card .price {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0f7ff 40%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.product-card .price::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0, 186, 219, 0.6), transparent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.4s ease, width 0.4s var(--ease-out-expo);
}

.product-card:hover .price::after {
  opacity: 1;
  width: 60px;
}

/* Enhanced Buy Now button for product cards */
.product-card .btn-accent {
  padding: 0.625rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 0.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(195, 100%, 45%) 0%, hsl(195, 100%, 38%) 100%);
  box-shadow:
    0 4px 15px rgba(0, 186, 219, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.product-card .btn-accent:hover {
  box-shadow:
    0 8px 30px rgba(0, 186, 219, 0.5),
    0 0 40px rgba(0, 186, 219, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
}

.chat-widget .btn {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
  background-color: #0a1f40;
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  height: 2rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Site Footer */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e5e5;
  padding: 2.5rem 0 0;
  font-size: 0.875rem;
  color: #555;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-site-logo {
  height: 3rem;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-legal-links {
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 2;
  color: #777;
}

.footer-legal-links a {
  color: #333;
  text-decoration: underline;
  font-weight: 500;
}

.footer-legal-links a:hover {
  color: var(--primary);
}

.footer-disclaimer {
  max-width: 56rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.footer-disclaimer p {
  font-size: 0.75rem;
  color: #999;
  line-height: 1.6;
  margin: 0;
}

.footer-copyright-bar {
  background-color: #00badb;
  color: white;
  text-align: center;
  padding: 0.75rem 0;
  margin-top: 1rem;
}

.footer-copyright-bar p {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
  }
}

/* SVG Icons */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-md {
  width: 1.25rem;
  height: 1.25rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .header-logo {
    height: 3rem;
  }

  .header-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .header-auth {
    display: inline-flex;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .btn-hero-cta {
    padding: 1.375rem 3.5rem;
    font-size: 1.5rem;
  }

  .section {
    padding: 7rem 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: start;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .grid-2 .order-1 {
    order: 1;
  }

  .grid-2 .order-2 {
    order: 2;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-tagline {
    text-align: right;
  }
}

@media (min-width: 768px) {
  .products-section .section-title {
    font-size: 3rem;
  }

  .product-image-wrapper {
    width: 6rem;
    height: 6rem;
  }

  .product-image-wrapper img {
    width: 4rem;
    height: 4rem;
  }

  .product-card .price {
    font-size: 2rem;
  }

  .product-card h3 {
    font-size: 1.125rem;
  }

  .product-card .product-size {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
    letter-spacing: -0.025em;
  }

  .products-section .section-title {
    font-size: 3.5rem;
  }

  .hero-content {
    padding: 6rem 2rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .blockchain-section .section-image {
    margin: 0;
  }

  .gnodi-section .section-image {
    margin: 0 0 0 auto;
  }

  .products-section {
    padding: 7rem 0;
  }
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Max width for products grid */
.products-grid {
  max-width: 72rem;
  margin: 0 auto;
}

/* Add-on products row (Safe, MEETN, Stacks) under the nodes; card width matches the 4-up row */
.products-grid-addons {
  display: grid;
  gap: 1.5rem;
  max-width: 53.5rem;
  margin: 1.75rem auto 0;
}

@media (min-width: 640px) {
  .products-grid-addons {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid-addons {
    gap: 1.75rem;
  }
}

.product-card .product-desc {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto 0.75rem;
  max-width: 15rem;
}

.product-card .price .price-term {
  font-size: 0.5em;
  font-weight: 600;
}

/* Max width for opportunity content */
#opportunity {
  background: linear-gradient(rgba(10, 31, 64, 0.1), rgba(10, 31, 64, 0.1)), url('../images/norway_2_web.jpg') center / cover no-repeat;
  color: white;
}

#opportunity .section-title {
  color: white;
  font-style: italic;
  font-size: 2.5rem;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.4);
}

#opportunity .section-title::after {
  display: none;
}

.opportunity-banner {
  display: inline-block;
  background-color: #00badb;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-size: 1.125rem;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  margin-top: 1.5rem;
}

.opportunity-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

/* Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-content {
  animation: fadeInUp 1s var(--ease-out-expo);
}

.hero h1 {
  animation: fadeInUp 1s var(--ease-out-expo) 0.1s both;
}

.hero p {
  animation: fadeInUp 1s var(--ease-out-expo) 0.2s both;
}

.hero p:nth-of-type(2) {
  animation-delay: 0.3s;
}

.hero p:nth-of-type(3) {
  animation-delay: 0.4s;
}

.hero .btn-hero-cta {
  animation: fadeInUp 1s var(--ease-out-expo) 0.5s both;
}

/* Scroll-triggered animations using CSS scroll-timeline (progressive enhancement) */
@supports (animation-timeline: view()) {
  .section-title,
  .section-subtitle {
    animation: fadeInUp 0.8s var(--ease-out-expo) both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }

  .opportunity-card {
    animation: fadeInUp 0.6s var(--ease-out-expo) both;
    animation-timeline: view();
    animation-range: entry 0% entry 25%;
  }

  .opportunity-card:nth-child(2) {
    animation-delay: 0.1s;
  }

  .opportunity-card:nth-child(3) {
    animation-delay: 0.2s;
  }

  .product-card {
    animation: scaleIn 0.6s var(--ease-out-expo) both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }

  .blockchain-section .section-image {
    animation: slideInRight 0.8s var(--ease-out-expo) both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  .gnodi-section .section-image {
    animation: slideInLeft 0.8s var(--ease-out-expo) both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  .info-box {
    animation: fadeInUp 0.6s var(--ease-out-expo) both;
    animation-timeline: view();
    animation-range: entry 0% entry 25%;
  }

  .bottom-line-box {
    animation: scaleIn 0.8s var(--ease-out-expo) both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

/* Subtle hover glow for buttons */
.btn-outline {
  transition: all 0.25s var(--ease-out-quart);
  position: relative;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 63, 144, 0.1);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

/* Enhanced Read More Buttons */
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(20, 63, 144, 0.08) 0%, rgba(0, 186, 219, 0.05) 100%);
  border: 1px solid rgba(20, 63, 144, 0.2);
  border-radius: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.btn-read-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 186, 219, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn-read-more:hover::before {
  left: 100%;
}

.btn-read-more::after {
  content: '→';
  font-size: 1.125rem;
  transition: transform 0.3s var(--ease-spring);
}

.btn-read-more:hover {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(217, 75%, 35%) 100%);
  color: white;
  border-color: transparent;
  transform: translateX(4px);
  box-shadow:
    0 8px 25px rgba(20, 63, 144, 0.25),
    0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-read-more:hover::after {
  transform: translateX(4px);
}

.btn-read-more:active {
  transform: translateX(2px) scale(0.98);
}

/* Accent variant for light backgrounds */
.btn-read-more-accent {
  background: linear-gradient(135deg, rgba(0, 186, 219, 0.12) 0%, rgba(20, 63, 144, 0.08) 100%);
  border-color: rgba(0, 186, 219, 0.3);
  color: hsl(217, 75%, 30%);
}

.btn-read-more-accent:hover {
  background: linear-gradient(135deg, var(--accent) 0%, hsl(195, 100%, 35%) 100%);
  border-color: transparent;
}

/* Light variant for dark backgrounds */
.btn-read-more-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-read-more-light:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

/* Focus states for accessibility */
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Selection color */
::selection {
  background-color: rgba(0, 186, 219, 0.25);
  color: var(--foreground);
}

/* Smooth transitions for all interactive elements */
a, button, .btn {
  transition: all 0.25s var(--ease-out-quart);
}

/* Stagger animation helper */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Floating animation for decorative elements */
.float {
  animation: float 6s ease-in-out infinite;
}

/* Subtle parallax hint on hero background */
.hero {
  background-attachment: fixed;
}
