/* Base styling for Vigidog privacy hub */
:root {
  color-scheme: light;
  font-size: 16px;
  font-family: "Segoe UI", Arial, sans-serif;
  --primary: #1b4d89;
  --primary-dark: #123764;
  --accent: #f0a500;
  --bg: #f9fafc;
  --text: #1f2933;
  --muted: #5f6b7d;
  --border: #d8e2ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.header-logo {
  width: 64px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(27, 77, 137, 0.15);
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  color: var(--primary);
}

header p {
  max-width: 720px;
  margin: 1rem auto 0;
  color: var(--muted);
}

.hub-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.hub-actions a,
.hub-actions .interactive-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.75rem;
  text-decoration: none;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  color: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hub-actions .interactive-card {
  padding: 1.75rem;
  /* Match standard card padding */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hub-actions .interactive-card>span {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.hub-actions .interactive-card .default-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.hub-actions .interactive-card .choices {
  display: none;
  flex-direction: row;
  width: 100%;
  margin-top: 0.5rem;
  gap: 0.5rem;
}

.hub-actions .interactive-card.active .default-content {
  display: none;
}

.hub-actions .interactive-card.active .choices {
  display: flex;
}

.hub-actions .interactive-card .choices a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: 1px solid var(--border);
  border-radius: 8px;
}



.hub-actions .interactive-card .choices a:hover {
  background: #f0f4f8;
  color: var(--primary-dark);
}

.hub-actions a:hover,
.hub-actions a:focus-visible,
.hub-actions .interactive-card:hover,
.hub-actions .interactive-card.active {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(27, 77, 137, 0.12);
  border-color: var(--primary);
  outline: none;
}

.hub-actions a span {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.hub-actions a small {
  color: var(--muted);
}

main article {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  box-shadow: 0 6px 20px rgba(27, 77, 137, 0.08);
}

main h2 {
  margin-top: 2rem;
  color: var(--primary-dark);
}

main h2:first-of-type {
  margin-top: 0;
}

section {
  margin-top: 1.5rem;
}

section h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
}

ul {
  margin: 0.5rem 0 0 1.25rem;
  padding: 0;
}

footer {
  margin-top: auto;
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs span {
  color: var(--muted);
  margin: 0 0.5rem;
}

.card-highlight {
  background: rgba(27, 77, 137, 0.08);
  border-left: 4px solid var(--primary);
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1rem;
}

.contact-block {
  background: rgba(240, 165, 0, 0.12);
  border: 1px solid rgba(240, 165, 0, 0.3);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1.5rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  header h1 {
    font-size: 2rem;
  }

  main article {
    padding: 2rem 1.5rem;
  }
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-dark);
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 77, 137, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.char-count {
  text-align: right;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.form-actions {
  margin-top: 2rem;
}

button[type="submit"] {
  display: inline-block;
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

button[type="submit"]:hover {
  background: var(--primary-dark);
}

button[type="submit"]:active {
  transform: translateY(1px);
}

button[type="submit"]:disabled {
  background: var(--muted);
  cursor: not-allowed;
  transform: none;
}

.status-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  display: none;
}

.status-message.success {
  display: block;
  background: rgba(40, 167, 69, 0.1);
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-message.error {
  display: block;
  background: rgba(220, 53, 69, 0.1);
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Contact Form Specifics */
.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.form-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.4s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
}

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

.slide-down {
  display: none;
  /* Default hidden */
}

.slide-down.visible {
  display: block;
  animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Better Select Styling */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "▼";
  font-size: 0.8rem;
  color: var(--primary);
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

select {
  appearance: none;
  cursor: pointer;
}

/* Highlighted Contact Section */
.contact-highlight {
  margin: 2rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  padding: 2.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 10px 25px rgba(27, 77, 137, 0.15);
}

.contact-highlight .content h2 {
  color: #fff;
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

.contact-highlight .content p {
  margin: 0;
  opacity: 0.9;
  max-width: 500px;
}

.button-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(240, 165, 0, 0.3);
}

.button-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(240, 165, 0, 0.4);
  background: #ffb700;
}

.button-contact:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .contact-highlight {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .contact-highlight .content p {
    margin: 0 auto 1.5rem;
  }

  .button-contact {
    width: 100%;
  }
}