/* Modern Figma-Inspired Norway Visa Page Styles */
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #0066FF;
  --primary-blue-hover: #0052CC;
  --secondary-blue: #F0F6FF;
  --accent-orange: #FF6B35;
  --text-primary: #1A1D23;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --surface-white: #FFFFFF;
  --surface-light: #F8FAFC;
  --surface-gray: #F1F5F9;
  --border-light: #E2E8F0;
  --success-green: #10B981;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --border-radius-sm: 12px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
}

body {
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--surface-light);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero Section - Modern Figma Style */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('norway.jpg') center/cover;
  opacity: 0.15;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 2;
}

.hero-text {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--surface-white);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--surface-white);
  color: var(--primary-blue);
  border: none;
  border-radius: var(--border-radius-xl);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-medium);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  background: var(--surface-light);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Main Container */
.visa-container {
  max-width: 1200px;
  margin: -80px auto 80px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.visa-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
}

/* Modern Card Styles */
.left-box, 
.right-box {
  background: var(--gradient-card);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.left-box::before,
.right-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.left-box:hover, 
.right-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--primary-blue);
}

/* Typography */
h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 2px;
}

/* Modern List Styles */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--surface-gray);
  transition: all 0.2s ease;
}

ul li:last-child {
  border-bottom: none;
}

ul li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  position: relative;
}

ul li::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 12px;
  font-weight: bold;
  left: 18px;
  top: 14px;
}

ul li:hover {
  color: var(--text-primary);
  background: var(--secondary-blue);
  margin: 0 -16px 16px -16px;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
}

/* CTA Section */
.apply-box {
  background: linear-gradient(135deg, var(--secondary-blue) 0%, #E0F2FE 100%);
  padding: 32px;
  border-radius: var(--border-radius-lg);
  margin-top: 40px;
  text-align: center;
  border: 1px solid rgba(0, 102, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.apply-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  animation: float 20s ease-in-out infinite;
}

.apply-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.apply-box p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-hover) 100%);
  color: var(--surface-white);
  padding: 16px 32px;
  border: none;
  border-radius: var(--border-radius-xl);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.btn-secondary::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;
}

.btn-secondary:hover::before {
  left: 100%;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    min-height: 500px;
  }
  
  .visa-container {
    margin-top: -60px;
    padding: 0 16px;
  }
  
  .visa-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .left-box, 
  .right-box {
    padding: 24px;
  }
  
  .apply-box {
    padding: 24px;
    margin-top: 32px;
  }
  
  ul li {
    font-size: 0.95rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-text {
    padding: 0 16px;
  }
  
  .left-box, 
  .right-box {
    padding: 20px;
  }
  
  .apply-box {
    padding: 20px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for better accessibility */
.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}