/* Pro Survey Solutions - ANNOVA-inspired theme */
:root {
  --teal: #20b2aa;
  --teal-dark: #1a9a93;
  --teal-light: #2ec4bc;
  --white: #ffffff;
  --gray-bg: #f8f8f8;
  --gray-light: #ececec;
  --gray-mid: #999999;
  --dark: #333333;
  --dark-bar: #2b2b2b;
  --yellow-cta: #f1c40f;
  --red-icon: #e74c3c;
  --orange-icon: #f39c12;
  --font-main: 'Varela Round', 'Segoe UI', sans-serif;
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 6px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--teal-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--teal);
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link img {
  height: 42px;
  width: auto;
}

.logo-text {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 0.85;
}

.nav-cta {
  color: var(--yellow-cta) !important;
  font-weight: 700 !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  background: var(--teal);
  padding: 50px 0 120px;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero .subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== SURVEY CARD ========== */
.survey-wrapper {
  margin-top: -90px;
  position: relative;
  z-index: 10;
  padding-bottom: 60px;
}

.survey-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.progress-bar-wrap {
  background: var(--gray-light);
  height: 6px;
}

.progress-bar {
  background: var(--teal);
  height: 100%;
  width: 25%;
  transition: width 0.4s ease;
}

.survey-body {
  padding: 40px 50px 30px;
}

.survey-step {
  display: none;
}

.survey-step.active {
  display: block;
}

.survey-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--dark);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

.form-group.full {
  flex: 0 0 100%;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--red-icon);
}

.error-msg {
  color: var(--red-icon);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.error-msg.show {
  display: block;
}

/* Incrementer */
.incrementer {
  display: flex;
  align-items: center;
  gap: 0;
}

.incrementer button {
  width: 36px;
  height: 38px;
  border: 1px solid #ddd;
  background: var(--gray-bg);
  cursor: pointer;
  font-size: 18px;
  color: var(--dark);
  transition: background 0.2s;
}

.incrementer button:hover {
  background: var(--gray-light);
}

.incrementer input {
  width: 60px !important;
  text-align: center;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
}

/* Radio & Checkbox */
.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}

.radio-group label,
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
}

.radio-group input,
.checkbox-group input {
  accent-color: var(--teal);
  width: 16px;
  height: 16px;
}

/* Toggle switch */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid var(--gray-light);
  margin-top: 15px;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 26px;
  transition: 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--teal);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

/* Survey navigation */
.survey-nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 50px 30px;
  border-top: 1px solid var(--gray-light);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-prev {
  background: var(--gray-light);
  color: var(--dark);
}

.btn-prev:hover {
  background: #ddd;
}

.btn-next,
.btn-submit {
  background: var(--dark);
  color: var(--white);
}

.btn-next:hover,
.btn-submit:hover {
  background: #222;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--dark);
  color: var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background: var(--teal-dark);
}

/* ========== SECTIONS ========== */
.section {
  padding: 70px 0;
}

.section-gray {
  background: var(--gray-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-title .subtitle {
  color: var(--gray-mid);
  font-size: 15px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-box {
  text-align: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
}

.feature-icon.red { background: var(--red-icon); }
.feature-icon.teal { background: var(--teal); }
.feature-icon.orange { background: var(--orange-icon); }

.feature-box h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.feature-box p {
  color: var(--gray-mid);
  font-size: 14px;
  margin-bottom: 20px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 50px;
}

.faq-item {
  display: flex;
  gap: 15px;
}

.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.faq-content h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-content p {
  color: var(--gray-mid);
  font-size: 14px;
}

/* Gallery */
.gallery-slider {
  display: flex;
  gap: 15px;
  overflow: hidden;
}

.gallery-slide {
  flex: 0 0 calc(25% - 12px);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-slide:hover img {
  transform: scale(1.05);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.gallery-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
}

.gallery-dots span.active {
  background: var(--teal);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 25px;
}

.about-text h4:first-child {
  margin-top: 0;
}

.about-text p {
  color: var(--gray-mid);
  font-size: 14px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 15px;
}

.team-card .name {
  font-weight: 700;
  font-size: 15px;
}

.team-card .role {
  color: var(--gray-mid);
  font-size: 13px;
  background: var(--gray-bg);
  padding: 4px 12px;
  display: inline-block;
  margin-top: 5px;
  border-radius: 3px;
}

/* ========== PAGE HEADER (inner pages) ========== */
.page-hero {
  background: var(--teal);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
}

.page-content {
  padding: 60px 0;
}

.page-content .container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-content h2 {
  font-size: 22px;
  margin: 30px 0 15px;
  color: var(--dark);
}

.page-content h3 {
  font-size: 18px;
  margin: 25px 0 12px;
}

.page-content p,
.page-content li {
  color: #555;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.8;
}

.page-content ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 15px;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

/* Subscribe / Unsubscribe */
.auth-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--white);
  padding: 45px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.auth-card h2 {
  margin-bottom: 10px;
}

.auth-card p {
  color: var(--gray-mid);
  margin-bottom: 25px;
  font-size: 14px;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 20px;
  display: none;
}

.success-message.show {
  display: block;
}

/* ========== CART ========== */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.cart-table th,
.cart-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
}

.cart-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-mid);
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty button {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background: var(--gray-bg);
  cursor: pointer;
  border-radius: 3px;
}

.cart-summary {
  max-width: 400px;
  margin-left: auto;
  background: var(--gray-bg);
  padding: 25px;
  border-radius: var(--radius);
}

.cart-summary .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.cart-summary .total {
  font-weight: 700;
  font-size: 18px;
  border-top: 2px solid #ddd;
  padding-top: 12px;
  margin-top: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 25px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-card);
}

.product-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.product-card .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--teal);
  margin: 15px 0;
}

.product-card p {
  color: var(--gray-mid);
  font-size: 13px;
  margin-bottom: 15px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-mid);
}

.cart-badge {
  background: var(--yellow-cta);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--teal);
  color: var(--white);
  padding-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.9;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  transition: background 0.2s;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  background: var(--dark-bar);
  padding: 15px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.back-to-top {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.back-to-top:hover {
  color: var(--white);
}

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }
