/* Avalara + Cetec Landing Page Styles */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #374151;
  background-color: #ffffff;
}

/* Custom Color Variables */
:root {
  --brand-blue: #0B4F6C;
  --brand-cyan: #41B7D6;
  --brand-cyan-light: #5AC8E4;
  --text-gray: #6B7280;
  --border-cyan: #b6e0ea;
}

/* Utility Classes */
.bg-brand-blue { background-color: var(--brand-blue); }
.bg-brand-cyan { background-color: var(--brand-cyan); }
.text-brand-blue { color: var(--brand-blue); }
.text-brand-cyan { color: var(--brand-cyan); }
.text-white { color: #ffffff; }
.text-gray-500 { color: #6B7280; }
.text-gray-600 { color: #4B5563; }
.text-gray-900 { color: #111827; }

/* Container */
.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Styles */
#header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background-color: transparent;
  padding: 1.5rem 0;
}

#header.scrolled {
  background-color: var(--brand-blue);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
  width: auto;
  height: 3.5rem;
  transition: all 0.3s ease;
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.space-x-6 > * + * {
  margin-left: 1.5rem;
}

/* CTA Button */
.cta-demo {
  background-color: var(--brand-cyan);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-demo:hover {
  background-color: var(--brand-cyan-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(65, 183, 214, 0.3);
}

/* Hero Section */
.cetec-hero-section {
  position: relative;
  background-color: var(--brand-blue);
  color: white;
  padding-top: 11rem;
  margin-top: -11rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.05) 2px, transparent 0),
    radial-gradient(circle at 60px 60px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 80px 80px, 100px 100px;
  opacity: 0.5;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(65, 183, 214, 0.1) 0%, transparent 50%);
}

.avalara-title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.hero-angle-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.hero-angle-bottom svg {
  display: block;
  width: 100%;
  height: 18rem;
}

/* Tax Card */
.tax-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-cyan);
  background-color: white;
  z-index: 20;
}

/* Cetec Logo Pill */
.cetec-logo-pill-container {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
}

.cetec-logo-pill {
  background: white;
  border: 2px solid var(--border-cyan);
  border-radius: 2rem;
  padding: 0.75rem 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cetec-logo-img {
  height: 2rem;
  width: auto;
  display: block;
}

/* Tax Card Content */
.tax-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.tax-subtitle {
  color: var(--brand-cyan);
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.125rem;
}

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

.tax-intro {
  font-weight: 500;
  color: var(--brand-blue);
  font-size: 1rem;
}

/* Tax List */
.tax-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  margin: 0 auto 2rem;
  max-width: 28rem;
  list-style: none;
}

.tax-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  width: 100%;
}

.tax-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--brand-cyan);
  border-radius: 50%;
  position: relative;
}

.tax-icon::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Tax Quote */
.tax-quote {
  background-color: #F9FAFB;
  border-left: 4px solid var(--brand-cyan);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0.5rem;
}

.tax-quote b {
  font-size: 1.125rem;
  color: var(--brand-blue);
  display: block;
  margin-bottom: 0.5rem;
}

.tax-quote-attribution {
  font-style: italic;
  color: var(--text-gray);
  font-size: 0.875rem;
}

.tax-closing {
  color: #4B5563;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

/* Tax Logos */
.tax-logos {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.tax-logos img {
  height: 3rem;
  width: auto;
  object-fit: contain;
}

/* Book Meeting Section */
.book-meeting-section-bg {
  background-color: #DEEEF7;
}

.book-meeting-section {
  padding: 0;
}

.book-meeting-content {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%230B4F6C;stop-opacity:1" /><stop offset="100%" style="stop-color:%2341B7D6;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="400" fill="url(%23grad)"/></svg>');
  background-position: center center;
  background-size: cover;
  height: 179px;
  text-align: center;
  display: grid;
  align-items: center;
  padding: 0 1rem;
  color: #fff;
}

.book-meeting-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0;
}

/* Form Section */
.tools-section-bg {
  background-color: #DEEEF7;
  padding: 3rem 0;
}

.avalar-tools-section {
  padding-top: 0.5rem !important;
  background-image: none !important;
}

.avalara-form-section-card {
  margin: 3.5rem 11.5rem;
  background-color: white;
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  border: 1px solid rgba(65, 183, 214, 0.2);
  position: relative;
  z-index: 10;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 600px;
}

.form-column {
  position: relative;
  width: 100%;
}

.form-card {
  position: relative;
  z-index: 10;
}

/* Dotted Pattern Decorations */
.dotted-pattern {
  position: absolute;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, var(--brand-cyan) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.2;
  pointer-events: none;
}

.dotted-pattern-1 {
  top: -30px;
  right: -30px;
}

.dotted-pattern-2 {
  bottom: -30px;
  left: -30px;
}

/* Footer */
.footer {
  background-color: var(--brand-blue);
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-logo-img {
  height: 3rem;
  width: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .avalara-form-section-card {
    margin: 3.5rem 1.625rem;
  }

  .avalara-title {
    margin-top: 4.375rem;
    font-size: 2rem;
  }

  .tax-card {
    padding: 2rem 1.5rem;
  }

  .tax-title {
    font-size: 1.5rem;
  }

  .book-meeting-content h2 {
    font-size: 1.5rem;
  }

  .tax-logos {
    gap: 1.5rem;
  }

  .tax-logos img {
    height: 2rem;
  }

  .md\:flex {
    display: none !important;
  }

  .md\:hidden {
    display: block !important;
  }

  .hidden {
    display: none;
  }
}

@media (min-width: 769px) {
  .md\:flex {
    display: flex !important;
  }

  .md\:hidden {
    display: none !important;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
  }
}

/* Responsive Utilities */
.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.relative {
  position: relative;
}

.z-20 {
  z-index: 20;
}

.z-50 {
  z-index: 50;
}

.text-center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-10 {
  gap: 2.5rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}
