/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

/* Import Geist font */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&display=swap');

/* ========================================
   QuoteJunction - Modern Contractor SMS Web App Styles
   ======================================== */

/* CSS Custom Properties for Design System */
:root {
  /* Colors */
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary-color: #64748b;
  --accent-color: #059669;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --background-primary: #ffffff;
  --background-secondary: #f8fafc;
  --background-tertiary: #f1f5f9;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --error-color: #dc2626;
  --success-color: #059669;
  --warning-color: #d97706;
  
  /* Typography */
  --font-family-primary: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Font Sizes - Using explicit pixel values for reliability */
  --text-xs: 14px;
  --text-sm: 16px;
  --text-base: 18px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --text-4xl: 44px;
  --text-5xl: 56px;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Layout */
  --container-max-width: 1200px;
  --container-padding: 1.25rem; /* 20px on mobile */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

/* ========================================
   Base Styles & Typography
   ======================================== */

/* Ensure proper root font size */
html {
  font-size: 16px; /* Explicitly set root font size */
}

body {
  font-size: 18px; /* Explicit base font size */
  line-height: 1.6;
  font-family: var(--font-family-primary);
}

/* Accessibility: Screen reader only content */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Focus management for accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
  border-radius: var(--border-radius-md);
  z-index: 1000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 6px;
}

.invert {
  --tw-invert: invert(100%);
  filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
}

.brightness-0 {
  --tw-brightness: brightness(0%);
}

.margin-0 {
  margin: 0;
  img {
    margin: 0;
  }
}

/* Typography overrides */
.quote-junction-home,
.quote-junction-start-now {
  font-family: var(--font-family-primary);
  line-height: 1.6;
  color: var(--text-primary);
}

.quote-junction-home h1,
.quote-junction-home h2,
.quote-junction-home h3,
.quote-junction-home h4,
.quote-junction-home h5,
.quote-junction-home h6 {
  font-family: var(--font-family-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
  margin-bottom: var(--space-4);
}

.quote-junction-home p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.quote-junction-home * {
  font-size: inherit; /* Ensure inheritance works properly */
}

/* ========================================
   Layout Components
   ======================================== */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2.5rem;
  }
}

/* ========================================
   Hero Section
   ======================================== */

.gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #03d442 75%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

.hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: var(--space-12) 0;
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.start-now-hero {
  padding: var(--space-10) 0;
  min-height: 60vh;
}

@media (min-width: 768px) {
  .start-now-hero {
    padding: var(--space-12) 0;
    min-height: 50vh;
  }
}

@media (min-width: 1024px) {
  .start-now-hero {
    padding: var(--space-16) 0;
    min-height: 40vh;
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding: var(--space-16) 0;
    min-height: 70vh;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: var(--space-20) 0;
    min-height: 85vh;
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  .hero-container {
    padding: 0 var(--space-8);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  max-width: 100%;
  padding: 0 var(--space-2);
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    max-width: 1200px;
    padding: 0;
  }
}

.hero-text {
  text-align: center;
}

@media (min-width: 768px) {
  .hero-text {
    text-align: left;
  }
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-screenshot {
  width: 100%;
  /* max-width: 500px; */
  height: auto;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-normal);
}

.hero-screenshot:hover {
  transform: scale(1.02);
}

.hero-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--text-4xl);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--text-5xl);
  }
}

.hero-subtitle {
  font-size: 16px !important; /* Mobile */
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 18px !important;
    margin-bottom: var(--space-8);
  }
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 20px !important;
    line-height: 1.7;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 24px !important;
  }
}

.hero-cta {
  margin-top: var(--space-8);
  text-align: center;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  z-index: 2;
}

.phone-icon svg {
  width: 40px;
  height: 40px;
}

.connection-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.line {
  position: absolute;
  background: var(--primary-light);
  border-radius: 2px;
  animation: pulse 2s infinite;
}

.line-1 {
  width: 60px;
  height: 4px;
  top: -30px;
  left: -30px;
  transform: rotate(45deg);
  animation-delay: 0s;
}

.line-2 {
  width: 80px;
  height: 4px;
  top: -10px;
  right: -40px;
  transform: rotate(-30deg);
  animation-delay: 0.5s;
}

.line-3 {
  width: 70px;
  height: 4px;
  bottom: -25px;
  left: -35px;
  transform: rotate(-45deg);
  animation-delay: 1s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* ========================================
   Button Styles
   ======================================== */

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .cta-button {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
  }
}

.cta-button.primary {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.hero-section .cta-button.primary {
  background: white;
  color: var(--primary-color);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hero-section .cta-button.primary:hover {
  background: var(--background-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button.primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button.primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

.cta-button.primary:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.cta-button.secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.cta-button.secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-button.secondary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.cta-button.secondary:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Two-button hero layout */
.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero-cta {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .hero-cta .cta-button {
    width: 100%;
    max-width: 280px;
  }
}

/* Button loading state */
.cta-button.loading {
  pointer-events: none;
  opacity: 0.7;
}

.button-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.cta-button.loading .button-spinner {
  display: block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================
   Section Styles
   ======================================== */

.how-it-works,
.quote-form-section,
.benefits-section,
.steps-section,
.pricing-info-section,
.signup-form-section,
.faq-section {
  padding: var(--space-10) 0;
}

@media (min-width: 768px) {
  .how-it-works,
  .quote-form-section,
  .benefits-section {
    padding: var(--space-12) 0;
  }
}

@media (min-width: 1024px) {
  .how-it-works,
  .quote-form-section,
  .benefits-section {
    padding: var(--space-16) 0;
  }
}

.how-it-works {
  background: var(--background-secondary);
}

.quote-form-section {
  background: var(--background-primary);
}

.benefits-section {
  background: var(--background-tertiary);
}

.steps-section {
  background: var(--background-primary);
}

.pricing-info-section {
  background: var(--background-secondary);
}

.signup-form-section {
  background: var(--background-primary);
}

.faq-section {
  background: var(--background-tertiary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-8);
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: var(--space-10);
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .section-header {
    margin-bottom: var(--space-12);
  }
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

@media (min-width: 640px) {
  .section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--text-4xl);
  }
}

.section-subtitle {
  font-size: 16px !important;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .section-subtitle {
    font-size: 18px !important;
  }
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 20px !important;
    line-height: 1.7;
  }
}

/* ========================================
   Steps Grid
   ======================================== */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

.step-card {
  background: var(--background-primary);
  padding: var(--space-6);
  border-radius: var(--border-radius-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
}

@media (min-width: 768px) {
  .step-card {
    padding: var(--space-8);
  }
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0 auto var(--space-4);
}

.step-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .step-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
  }
}

.step-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 16px !important;
}

@media (min-width: 768px) {
  .step-description {
    font-size: 18px !important;
    line-height: 1.7;
  }
}

/* ========================================
   Final CTA Section Styles
   ======================================== */

.final-cta-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: var(--space-16) 0;
  text-align: center;
}

.final-cta-section .cta-button.primary:hover {
  background: var(--background-secondary);
  color: var(--primary-hover);
}

.final-cta-section .form-disclaimer {
  color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
  margin-top: var(--space-8);
  text-align: center;
}

.cta-actions .cta-button {
  display: inline-block;
}

/* ========================================
   Hero Highlight Badge
   ======================================== */

.hero-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero-highlight {
    flex-direction: column;
    gap: var(--space-2);
  }
}

.highlight-badge {
  background: var(--primary-color);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
}

.highlight-text {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
}

@media (min-width: 640px) {
  .highlight-badge,
  .highlight-text {
    font-size: var(--text-base);
  }
}

/* ========================================
   Form Styles (Legacy - can be removed if not used elsewhere)
   ======================================== */

.quote-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--background-primary);
  padding: var(--space-8);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-size: 18px !important; /* Force 18px */
}

.required {
  color: var(--error-color);
  font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-4);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-size: 18px !important; /* Force 18px */
  font-family: inherit;
  transition: all var(--transition-fast);
  background: var(--background-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-input:invalid,
.form-select:invalid,
.form-textarea:invalid {
  border-color: var(--error-color);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: var(--space-12);
  appearance: none;
}

/* Error messages */
.error-message {
  color: var(--error-color);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
  display: none;
}

.error-message.visible {
  display: block;
}

/* Form actions */
.form-actions {
  text-align: center;
  margin-top: var(--space-8);
}

.submit-button {
  font-size: var(--text-lg);
  padding: var(--space-5) var(--space-10);
}

.form-disclaimer {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-4);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Checkbox grid for specialties */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 18px !important;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--border-radius-sm);
  transition: background-color var(--transition-fast);
}

.checkbox-label:hover {
  background-color: var(--background-tertiary);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"]:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ========================================
   Pricing Section
   ======================================== */

.pricing-section {
  padding: var(--space-16) 0;
  background: var(--background-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

.pricing-card {
  background: var(--background-primary);
  border-radius: var(--border-radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-light);
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.plan-name {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.plan-tagline {
  font-size: var(--text-lg);
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.plan-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 18px !important;
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: var(--space-6);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 18px !important;
  line-height: 1.5;
  color: var(--text-primary);
  position: relative;
  padding-left: var(--space-6);
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 18px !important;
}

.features-list strong {
  color: var(--primary-color);
  font-weight: 600;
}

.pricing-cta {
  text-align: center;
}

.pricing-cta .cta-button {
  width: 100%;
  justify-content: center;
}

/* ========================================
   Benefits Grid
   ======================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background: var(--background-primary);
  padding: var(--space-5);
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
}

@media (min-width: 768px) {
  .benefit-card {
    padding: var(--space-6);
  }
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
}

.benefit-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .benefit-title {
    font-size: var(--text-lg);
  }
}

.benefit-description {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 14px !important;
}

@media (min-width: 768px) {
  .benefit-description {
    font-size: 16px !important;
    line-height: 1.6;
  }
}

@media (min-width: 1024px) {
  .benefit-description {
    font-size: 18px !important;
  }
}

/* ========================================
   Responsive Design & Accessibility
   ======================================== */

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000000;
    --text-secondary: #000000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-graphic .line {
    animation: none;
  }
}

/* Print styles */
@media print {
  .hero-visual,
  .benefit-icon,
  .step-number {
    print-color-adjust: exact;
  }
}

/* ========================================
   Start Now Page Components
   ======================================== */

/* Steps Timeline */
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .steps-timeline {
    gap: var(--space-10);
  }
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  background: var(--background-primary);
  padding: var(--space-6);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

@media (min-width: 768px) {
  .step-item {
    padding: var(--space-8);
    gap: var(--space-8);
  }
}

@media (max-width: 767px) {
  .step-item {
    flex-direction: column;
    text-align: center;
  }
}

.step-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.step-content {
  flex: 1;
}

.step-details {
  margin-top: var(--space-4);
}

.step-details h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-list li {
  padding: var(--space-1) 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .step-list li {
    font-size: 18px;
  }
}

.step-cta {
  margin-top: var(--space-5);
}

.example-link {
  background: var(--background-secondary);
  padding: var(--space-4);
  border-radius: var(--border-radius-md);
  margin-bottom: var(--space-4);
}

.link-example {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: var(--text-sm);
  color: var(--primary-color);
  background: white;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--border-radius-sm);
  display: inline-block;
  margin-top: var(--space-2);
}

.step-features {
  margin-top: var(--space-4);
}

.integration-help {
  background: var(--primary-light);
  padding: var(--space-4);
  border-radius: var(--border-radius-md);
  margin-top: var(--space-4);
}

.integration-help p {
  margin: 0;
  font-size: 16px;
  color: var(--text-primary);
}

/* Pricing Card Specific Styles */
.pricing-info-section .pricing-card {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .pricing-details {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

.trial-info,
.monthly-pricing {
  padding: var(--space-4);
  border-radius: var(--border-radius-lg);
}

.trial-info {
  background: var(--background-secondary);
}

.monthly-pricing {
  background: var(--primary-light);
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-1);
  margin: var(--space-4) 0;
}

.price {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--primary-color);
}

.period {
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

.pricing-note {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: var(--space-4);
  text-align: center;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item {
  background: var(--background-primary);
  padding: var(--space-6);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.faq-item h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.faq-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

@media (min-width: 768px) {
  .faq-item p {
    font-size: 18px;
  }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* ========================================
   Dark Mode Support (Future Enhancement)
   ======================================== */

@media (prefers-color-scheme: dark) {
  /* Dark mode variables can be added here in the future */
}