/* Executive Diagnostic - Enhanced Sexy & Clean Design */
:root {
  --navy-primary: #0a1628;
  --navy-dark: #050b14;
  --navy-medium: #1e293b;
  --navy-light: #334155;
  --blue-accent: #2563eb;
  --blue-light: #3b82f6;
  --blue-glow: rgba(37, 99, 235, 0.15);
  --gold-accent: #f59e0b;
  --gold-light: #fbbf24;
  --white: #ffffff;
  --gray-light: #f8fafc;
  --gray-medium: #e2e8f0;
  --gray-text: #64748b;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.04);
  --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 20px 60px rgba(10, 22, 40, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--navy-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--navy-primary);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--navy-primary);
  letter-spacing: -0.01em;
}

/* Questionnaire specific h2 - more compact */
#questionnaire-app h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

#questionnaire-app p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--navy-primary);
  letter-spacing: -0.01em;
}

p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--gray-text);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-white {
  background-color: var(--white);
}

.section-navy {
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-navy::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.section-gray {
  background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 100%);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 10rem 0 8rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 4.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtext {
  font-size: 1.5rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px var(--blue-glow), 0 0 40px var(--blue-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3), 0 0 60px var(--blue-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--navy-primary);
  border-color: var(--navy-medium);
}

.btn-secondary:hover {
  background-color: var(--navy-primary);
  color: var(--white);
  border-color: var(--navy-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-accent) 0%, var(--gold-light) 100%);
  color: var(--navy-primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
}

.btn i {
  position: relative;
  z-index: 1;
}

.btn span {
  position: relative;
  z-index: 1;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 232, 240, 0.5);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.2);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  color: var(--navy-primary);
  margin-bottom: 1.5rem;
}

.card p {
  color: var(--gray-text);
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px var(--blue-glow);
}

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.bento-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(226, 232, 240, 0.5);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.2);
}

.bento-card:hover::before {
  transform: scaleX(1);
}

.bento-large {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.bento-medium {
  grid-column: span 1;
}

.bento-small {
  grid-column: span 1;
}

.bento-accent {
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(10, 22, 40, 0.4);
}

.bento-accent h3 {
  color: var(--white) !important;
}

.bento-accent p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.bento-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px var(--blue-glow);
}

.bento-icon-small {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1rem;
  box-shadow: 0 6px 15px var(--blue-glow);
}

.bento-accent .bento-icon-small {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--navy-primary);
}

.bento-card p {
  color: var(--gray-text);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

.bento-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--gold-accent) 0%, var(--gold-light) 100%);
  color: var(--navy-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Responsive Bento Grid */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-large,
  .bento-medium,
  .bento-small {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .bento-large,
  .bento-medium,
  .bento-small {
    grid-column: span 1;
  }
  
  .bento-card {
    padding: 2rem;
  }
}

/* Grid Layout */
.grid {
  display: grid;
  gap: 2.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Features List */
.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  display: flex;
  align-items: flex-start;
  font-size: 1.125rem;
  color: var(--navy-medium);
  transition: padding-left 0.3s ease;
}

.features-list li:hover {
  padding-left: 0.5rem;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li::before {
  content: '✓';
  color: var(--blue-accent);
  font-weight: bold;
  margin-right: 1rem;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.step:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.step-number {
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  color: var(--white);
  width: 4rem;
  height: 4rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px var(--blue-glow);
}

.step-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--navy-primary);
}

.step-content p {
  margin-bottom: 0;
  color: var(--gray-text);
  font-size: 1.125rem;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid rgba(37, 99, 235, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.125rem 0;
  gap: 3rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex: 1;
  justify-content: center;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

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

.logo-image {
  height: 30px;
  width: auto;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  color: var(--white);
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
  white-space: nowrap;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue-accent), var(--gold-accent), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section ul li a:hover {
  color: var(--blue-light);
  padding-left: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-decoration: none;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--blue-accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.x-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.social-icon-x:hover .x-icon {
  filter: brightness(1) invert(0);
}

.footer-logo {
  height: 22px;
  width: auto;
  margin-bottom: 0.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-brand-text {
  font-weight: 600;
  font-size: 0.9375rem;
  display: block;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

/* Questionnaire form groups - more compact */
#questionnaire-app .form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--navy-primary);
  font-size: 1rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-medium);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 4px var(--blue-glow);
}

.form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-medium);
  border-radius: 12px;
  font-size: 1rem;
  background-color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-select:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 4px var(--blue-glow);
}

/* Radio Button Styles */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-option {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-medium);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--white);
  font-size: 1.0625rem;
  font-weight: 500;
}

.radio-option:hover {
  border-color: var(--blue-accent);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.radio-option input[type="radio"] {
  margin-right: 1rem;
  transform: scale(1.3);
  accent-color: var(--blue-accent);
}

.radio-option.selected {
  border-color: var(--blue-accent);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
  box-shadow: 0 0 0 4px var(--blue-glow);
  font-weight: 600;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 10px;
  background-color: var(--gray-medium);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 12px var(--blue-glow);
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Question Counter */
#question-counter {
  text-align: center;
  margin-bottom: 2rem;
}

#question-counter p {
  font-size: 1rem;
  color: var(--gray-text);
  font-weight: 500;
  margin-bottom: 0;
}

#question-counter span {
  color: var(--blue-accent);
  font-weight: 700;
}

/* Category Badge */
.category-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-light) 100%);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px var(--blue-glow);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
  
  /* Improved mobile header with better spacing */
  .header-content {
    gap: 0.75rem;
    padding: 1rem 0;
  }
  
  .logo-image {
    height: 22px;
  }
  
  /* Hide navigation links on mobile, keep CTA button */
  .nav-links {
    display: none;
  }
  
  .header-nav {
    gap: 0.75rem;
    justify-content: flex-end;
  }
  
  /* Better mobile button styling - smaller to prevent bleeding */
  .btn-nav {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }
  
  /* Footer brand centered on mobile */
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  
  .footer-logo {
    height: 24px;
  }
  
  .footer-brand-text {
    text-align: center;
  }
  
  /* Center social icons on mobile */
  .footer-social {
    justify-content: center;
  }
  
  /* Hero section with improved typography */
  .hero {
    padding: 5rem 0 3.5rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 1.25rem;
  }
  
  .hero-subtext {
    font-size: 1.125rem;
    line-height: 1.6;
    letter-spacing: 0.005em;
    margin-bottom: 2rem;
  }
  
  /* Improved typography with better kerning */
  h1 {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.015em;
  }
  
  h2 {
    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }
  
  h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    letter-spacing: -0.005em;
  }
  
  p {
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: 0.005em;
  }
  
  /* Section spacing */
  .section {
    padding: 3.5rem 0;
  }
  
  /* Card improvements */
  .card {
    padding: 1.75rem;
  }
  
  /* Steps layout */
  .steps {
    gap: 2rem;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .step-number {
    align-self: center;
    margin-bottom: 1rem;
  }
  
  /* Button improvements */
  .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    letter-spacing: 0.01em;
  }
  
  /* Bento grid mobile layout */
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .bento-tile {
    min-height: 180px;
  }
  
  /* Footer improvements */
  .footer {
    padding: 3rem 0 2rem;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .footer-brand {
    margin-bottom: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  /* Extra small mobile adjustments */
  .header-content {
    padding: 0.875rem 0;
  }
  
  .logo-image {
    height: 20px;
  }
  
  .btn-nav {
    font-size: 0.6875rem;
    padding: 0.4375rem 0.625rem;
  }
  
  .footer-logo {
    height: 22px;
  }
  
  .footer-brand-text {
    text-align: center;
  }
  
  /* Center social icons on small mobile */
  .footer-social {
    justify-content: center;
  }
  
  .hero {
    padding: 4rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 1.875rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }
  
  .hero-subtext {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  p {
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .btn {
    font-size: 0.875rem;
    padding: 0.75rem 1.25rem;
  }
  
  /* Questionnaire mobile improvements */
  .question-container {
    padding: 1.5rem;
  }
  
  .radio-option {
    padding: 0.875rem;
    font-size: 0.9375rem;
  }
  
  /* Fix button alignment on mobile for question navigation (NOT results page) */
  .question-step:not(#step-results) > div:last-child {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: 100%;
    margin-top: 2rem !important;
  }
  
  .question-step:not(#step-results) .btn {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.625rem 0.75rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
  }
  
  .question-step:not(#step-results) .btn i {
    font-size: 0.75rem;
  }
  
  /* Results page on mobile - keep centered layout */
  #step-results {
    text-align: center !important;
  }
  
  #step-results .btn-gold {
    font-size: 1rem !important;
    padding: 1rem 2rem !important;
    display: inline-flex !important;
    width: auto !important;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-up {
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Icon Animation */
.success-icon {
  animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Question Step Styles */
.question-step {
  display: none;
}

.question-step.active {
  display: block;
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Success Message */
.success-message {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-radius: 16px;
  border-left: 4px solid var(--blue-accent);
  box-shadow: var(--shadow-sm);
}

.success-message h4 {
  margin-bottom: 0.75rem;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.success-message p {
  margin-bottom: 0;
  color: var(--gray-text);
}