/* ===========================================
   Automatizuj.ba - Stylesheet
   Modern, professional, conversion-focused
   =========================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-primary-light: #dbeafe;
  --color-accent: #f59e0b;
  --color-success: #10b981;
  --color-dark: #0f172a;

  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary-hover); }

img { max-width: 100%; height: auto; }

p { line-height: 1.5; }

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  padding: 16px 0;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.logo span { color: var(--color-primary); }
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--color-text); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-md); }

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-text-muted);
}

.btn-success {
  background: var(--color-success);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-success:hover {
  background: #059669;
  color: white;
  transform: translateY(-1px);
}

/* ============ HERO ============ */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.3;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 24px;
}
.highlight {
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 19px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 40px;
}
.trust-item {
  display: flex;
  flex-direction: column;
}
.trust-item strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
}
.trust-item span {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 500px;
}
.hero-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
}
.floating-card {
  position: absolute;
  background: white;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--color-border);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.card-icon {
  font-size: 28px;
  line-height: 1;
}
.card-text {
  display: flex;
  flex-direction: column;
}
.card-text strong {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.2;
}
.card-text span {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.3;
}
.card-1 {
  top: 40px;
  left: 0;
  animation-delay: 0s;
}
.card-2 {
  top: 200px;
  right: 0;
  animation-delay: 2s;
}
.card-3 {
  bottom: 40px;
  left: 60px;
  animation-delay: 4s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .hero { padding: 50px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; line-height: 1.1; }
  .hero-subtitle { font-size: 17px; }
  .hero-visual { height: 360px; }
  .card-1 { top: 0; left: 10%; }
  .card-2 { top: 130px; right: 5%; }
  .card-3 { bottom: 0; left: 20%; }
  .hero-trust { flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero-subtitle { font-size: 16px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .trust-item strong { font-size: 22px; }
  .hero-visual { height: 280px; }
  .floating-card { padding: 12px 16px; }
  .card-text strong { font-size: 14px; }
  .card-text span { font-size: 12px; }
}

/* ============ SECTIONS ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}
.section h2 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section h2 { font-size: 28px; }
  .section-subtitle { font-size: 16px; }
  .section-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .section h2 { font-size: 24px; }
}

/* ============ PROBLEMS GRID ============ */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.problem-card {
  background: white;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.3s;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}
.problem-icon {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1;
}
.problem-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.25;
}
.problem-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .problem-card { padding: 22px; }
}

/* ============ STEPS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.step-card {
  background: white;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  position: relative;
}
.step-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
  line-height: 1.2;
}
.step-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.25;
}
.step-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-card { padding: 28px 22px; }
}

/* ============ BENEFITS ============ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.benefit-card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all 0.3s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.benefit-icon {
  font-size: 44px;
  margin-bottom: 16px;
  line-height: 1;
}
.benefit-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.25;
}
.benefit-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item:hover { border-color: var(--color-primary-light); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 60px;
  font-size: 16px;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-item p {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .faq-item summary { padding: 16px 20px; padding-right: 50px; font-size: 15px; }
  .faq-item summary::after { right: 18px; font-size: 24px; }
  .faq-item p { padding: 0 20px 16px; font-size: 14px; }
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
}
.cta-box {
  text-align: center;
  color: white;
  max-width: 700px;
  margin: 0 auto;
}
.cta-box h2 {
  font-size: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.15;
}
.cta-box p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
  line-height: 1.5;
}
.cta-box .btn-primary {
  background: white;
  color: var(--color-primary);
}
.cta-box .btn-primary:hover {
  background: #f1f5f9;
  color: var(--color-primary);
}
.cta-box small {
  display: block;
  margin-top: 16px;
  opacity: 0.9;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .cta-section { padding: 60px 0; }
  .cta-box h2 { font-size: 26px; }
  .cta-box p { font-size: 16px; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--color-dark);
  color: #cbd5e1;
  padding: 60px 0 24px;
}
.footer .logo { color: white; }
.footer .logo span { color: #60a5fa; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 24px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  max-width: 360px;
  color: #94a3b8;
  line-height: 1.5;
}
.footer-col h4 {
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  line-height: 1.3;
}
.footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.4;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: #94a3b8; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===========================================
   QUIZ PAGE
   =========================================== */
.quiz-page {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  min-height: 100vh;
  padding: 40px 0 80px;
}
.quiz-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.quiz-header {
  text-align: center;
  margin-bottom: 40px;
}
.quiz-header .logo {
  font-size: 24px;
  margin-bottom: 8px;
  display: inline-block;
}
.quiz-header p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.4;
}

.progress-wrapper {
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.progress-info span {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 600;
  line-height: 1.3;
}
.progress-info strong {
  color: var(--color-primary);
}
.progress-bar {
  height: 8px;
  background: var(--color-bg-alt);
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.question-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
  animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.question-number {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.question-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.question-hint {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.45;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.option {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background: var(--color-bg-alt);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: var(--color-text);
  line-height: 1.4;
}
.option:hover {
  background: var(--color-primary-light);
  transform: translateX(4px);
}
.option.selected {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.option-marker {
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  margin-right: 14px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}
.option.selected .option-marker {
  border-color: var(--color-primary);
  background: var(--color-primary);
}
.option.selected .option-marker::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.input-field {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  background: var(--color-bg-alt);
  transition: all 0.2s;
  color: var(--color-text);
  line-height: 1.4;
}
.input-field:focus {
  outline: none;
  border-color: var(--color-primary);
  background: white;
}
.input-field + .input-field { margin-top: 12px; }

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.quiz-actions .btn-back {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.2;
}
.quiz-actions .btn-back:hover {
  background: var(--color-bg-alt);
}
.quiz-actions .btn-back:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.quiz-actions .btn-next {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  flex-grow: 1;
  max-width: 240px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.2;
}
.quiz-actions .btn-next:hover {
  background: var(--color-primary-hover);
}
.quiz-actions .btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .quiz-page { padding: 20px 0 60px; }
  .quiz-container { padding: 0 16px; }
  .question-card { padding: 24px 20px; }
  .question-title { font-size: 21px; }
  .progress-wrapper { padding: 18px; }
  .option { padding: 16px; font-size: 14px; }
  .quiz-actions { gap: 8px; }
  .quiz-actions .btn-back { padding: 12px 18px; font-size: 14px; }
  .quiz-actions .btn-next { padding: 12px 20px; font-size: 14px; }
}

/* ===========================================
   RESULT PAGE
   =========================================== */
.result-page {
  padding: 40px 0 80px;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  min-height: 100vh;
}
.result-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.result-header {
  text-align: center;
  margin-bottom: 40px;
}
.result-icon {
  width: 80px;
  height: 80px;
  background: var(--color-success);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}
.result-icon::after {
  content: "✓";
  color: white;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}
.result-header h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.result-header p {
  color: var(--color-text-muted);
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.5;
}

.recommendations {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  margin-bottom: 32px;
}
.recommendations h2 {
  font-size: 24px;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.25;
}
.recommendations > p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.recommendation-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border-left: 4px solid var(--color-primary);
}
.recommendation-item:last-child { margin-bottom: 0; }
.recommendation-priority {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
.recommendation-content h3 {
  font-size: 17px;
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.3;
}
.recommendation-content p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}
.recommendation-impact {
  display: inline-block;
  padding: 4px 10px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

/* CTA box on result */
.contact-box {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  text-align: center;
}
.contact-box h2 {
  font-size: 26px;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.contact-box > p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.5;
}
.contact-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 2px solid var(--color-border);
  transition: all 0.2s;
  background: white;
}
.contact-option:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.contact-option-icon {
  font-size: 32px;
  margin-bottom: 10px;
  line-height: 1;
}
.contact-option-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  line-height: 1.3;
}
.contact-option-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}
.contact-option.primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}
.contact-option.primary .contact-option-label,
.contact-option.primary .contact-option-value {
  color: white;
}
.contact-option.primary .contact-option-label {
  opacity: 0.85;
}
.contact-option.whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: white;
}
.contact-option.whatsapp .contact-option-label,
.contact-option.whatsapp .contact-option-value {
  color: white;
}
.contact-option.whatsapp .contact-option-label {
  opacity: 0.85;
}

@media (max-width: 600px) {
  .result-page { padding: 20px 0 60px; }
  .result-container { padding: 0 16px; }
  .result-header h1 { font-size: 26px; }
  .result-header p { font-size: 15px; }
  .recommendations { padding: 24px 20px; }
  .recommendations h2 { font-size: 20px; }
  .recommendation-item { flex-direction: column; gap: 12px; padding: 20px; }
  .recommendation-priority { width: 36px; height: 36px; font-size: 16px; }
  .contact-box { padding: 28px 20px; }
  .contact-box h2 { font-size: 22px; }
  .contact-options { grid-template-columns: 1fr; gap: 12px; }
}

/* Loading state */
.loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hidden helper */
.hidden { display: none !important; }
