/* BRAND DESIGN SYSTEM */
:root {
  --primary-teal: #004C61;
  --accent-teal: #3D7C98;
  --bg-light-teal: #B7E6EB;
  --bg-card: #F6F6F8;
  --bg-white: #FFFFFF;
  --text-body: #1A1A2E;
  --text-secondary: #666666;
  --border-color: #E5E5E5;
  --success-green: #34C759;
  --nav-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: #1A1A2E;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  
  --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}



/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-stack);
  color: var(--text-body);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

.section-padding {
  padding: 80px 0;
}

/* TYPOGRAPHY */
h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-teal);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-body);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 8px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: #fff;
}


.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 76, 97, 0.3);
  opacity: 0.95;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-teal);
  border: 2px solid var(--primary-teal);
}

.btn-outline:hover {
  background-color: var(--primary-teal);
  color: #fff;
}


.btn-block {
  width: 100%;
}

.btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: currentColor;
  animation: spin 0.8s linear infinite;
  margin-left: 10px;
}

.btn.loading .btn-spinner {
  display: inline-block;
}

/* COMPONENTS */
.card {
  background-color: var(--bg-white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

/* NAV BAR */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

#navbar.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-teal);
}

.nav-logo img {
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-body);
}

.nav-links a:hover {
  color: var(--primary-teal);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.hamburger .bar {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-body);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.mobile-nav-drawer {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  z-index: 999;
}

.mobile-nav-drawer.open {
  max-height: 300px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-link {
  display: block;
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  font-weight: 500;
  font-size: 16px;
}

.mobile-link:hover {
  background-color: var(--bg-card);
  color: var(--primary-teal);
}

/* HERO SECTION */
.hero {
  background-color: var(--bg-light-teal);
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
}

.hero-content {
  max-width: 700px;
  padding: 0 24px;
  z-index: 2;
  margin-bottom: 60px;
}

.hero-icon {
  margin: 0 auto 24px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.hero p {
  font-size: 20px;
  color: var(--text-body);
  opacity: 0.9;
  margin: 24px 0 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.custom-shape-divider-bottom-hero {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom-hero svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.custom-shape-divider-bottom-hero .shape-fill {
  fill: var(--bg-white);
}

/* QUICK HELP SECTION */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.help-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--bg-light-teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-teal);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.help-card h3 {
  margin-bottom: 8px;
}

.help-card p {
  color: var(--text-secondary);
  font-size: 14px;
  flex-grow: 1;
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

/* FAQ SECTION */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category-title {
  color: var(--accent-teal);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 40px 0 16px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 8px;
  border-radius: 12px;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.faq-item.active {
  background-color: var(--bg-card);
  border-bottom-color: transparent;
  border-left: 4px solid var(--primary-teal);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-teal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
}



.faq-icon {
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
  padding: 0 20px 24px;
  color: var(--text-secondary);
}

/* CONTACT SECTION */
.contact-section {
  background-color: var(--bg-light-teal);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-body);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: var(--bg-card);
  color: var(--text-body);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(0, 76, 97, 0.1);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #EF4444;
}

.error-msg {
  display: none;
  color: #EF4444;
  font-size: 13px;
  margin-top: 6px;
}

.form-group.has-error .error-msg {
  display: block;
}

.char-counter {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: right;
  margin-top: 6px;
}

.form-main-error {
  display: none;
  text-align: center;
  margin-bottom: 16px;
  padding: 12px;
  background-color: rgba(239, 68, 68, 0.1);
  border-radius: 8px;
}

.success-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(52, 199, 89, 0.1);
  border-radius: 50%;
  color: var(--success-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-icon svg {
  width: 32px;
  height: 32px;
}

/* CONTACT DETAILS CARDS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background-color: var(--bg-white);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--bg-card);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-teal);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
}

.contact-info-title {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.contact-info-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-body);
}

/* APP STORE BANNER */
.app-store-section {
  background-color: var(--bg-white);
  text-align: center;
}

.app-store-content {
  max-width: 600px;
}

.banner-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-sm);
}

.app-store-badge-link {
  display: inline-block;
  margin: 24px 0 12px;
  transition: opacity 0.3s ease;
}

.app-store-badge-link:hover {
  opacity: 0.8;
}

.banner-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

/* FOOTER */
footer {
  background-color: var(--footer-bg);
  color: #fff;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-logo img {
  border-radius: 6px;
}

.brand-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 8px;
}

.copyright {
  margin-top: 16px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: #fff;
}

.links-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  font-size: 14px;
}

.links-col a:hover {
  color: #fff;
}

.info-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* BACK TO TOP */
#back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 900;
  transform: translateY(20px);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background-color: var(--accent-teal);
  transform: translateY(-2px);
}

#back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  h1 { font-size: 40px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  
  .nav-links { display: none; }
  .hamburger { display: flex; }
  
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .flex-between { flex-direction: column; gap: 8px; text-align: center; }
  
  .section-padding { padding: 60px 0; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  h1 { font-size: 28px; }
  .contact-info-card { flex-direction: column; text-align: center; }
}
