/* ==========================================================================
   Julian Cash Website - Consolidated Styles
   Version: 2.0
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Color Palette */
  --color-white: #ffffff;
  --color-primary: #002855;
  --color-accent: #0052CC;
  --color-text: #1a1a1a;
  --color-text-muted: #5C6570;
  --color-text-light: #718096;
  --color-border: #E8EBF0;
  --color-bg-soft: #F7F9FC;
  
  /* Gradient Theme Colors */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --color-purple: #667eea;
  --color-purple-dark: #764ba2;
  
  /* Layout */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  /* Spacing Scale */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 60px;
  
  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', Inter, sans-serif;
  
  /* Transitions */
  --transition-base: all 0.3s ease;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(30px, 4vw + 0.5rem, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  /* Gradient text effect */
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-purple);
  margin-bottom: 12px;
}

p {
  margin: 0 0 20px;
  color: var(--color-text-light);
}

/* ==========================================================================
   4. LINKS
   ========================================================================== */
a {
  color: var(--color-primary);
  text-decoration: none;
  position: relative;
  transition: var(--transition-base);
}

/* Default link underline animation */
a:not(.btn):not(.btn-secondary):not(.link-plain) {
  padding-bottom: 2px;
}

a:not(.btn):not(.btn-secondary):not(.link-plain)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

a:not(.btn):not(.btn-secondary):not(.link-plain):hover::after {
  width: 100%;
}

/* No underline for header links */
.header a::after {
  display: none;
}

/* Plain links (no underline effect) */
.link-plain::after {
  display: none;
}

a:active {
  transform: scale(0.98);
}

a:focus-visible {
  outline: 2px dashed var(--color-primary);
  outline-offset: 3px;
}

/* ==========================================================================
   5. LAYOUT COMPONENTS
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-2xl);
  box-sizing: border-box;
}

section {
  width: 100%;
  padding: var(--space-xl) 0;
}

/* Background variants */
.bg-soft {
  background: var(--color-bg-soft);
}

.bg-white {
  background: var(--color-white);
}

.bg-gradient {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   6. HEADER / TOP BAR
   ========================================================================== */
.header {
  background: rgb(110, 100, 198);  /* Flat purple instead of gradient */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 12px var(--space-2xl);
  max-width: var(--container-max);
  margin: 0 auto;
}

.header__contact {
  justify-self: center;
  font-size: 14px;
  color: var(--color-white);
  white-space: nowrap;
}

.header__contact > * {
  display: inline;
  margin: 0 6px;
}

.header__contact > *:first-child {
  margin-left: 0;
}

.header__contact > *:last-child {
  margin-right: 0;
}

.header__contact a {
  color: var(--color-white);
  padding: 4px 4px;
  margin: -4px -4px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: var(--transition-base);
}

.header__contact a:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

/* Email display control */
.email-short {
  display: none;
}

@media (max-width: 560px) {
  .email-full {
    display: none;
  }
  .email-short {
    display: inline;
  }
}

/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */
.hero {
  background: rgb(110, 100, 198);  /* Flat purple instead of gradient */
  padding: 40px 0 var(--space-2xl);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-2xl);
  align-items: start;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-2xl);
}

.hero__content {
  display: flex;
  flex-direction: column;
}

.hero__brand {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  opacity: 0.9;
  margin-bottom: var(--space-md);
}

.hero__title {
  color: var(--color-white);
  margin-bottom: 16px;
}

.hero__description {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--color-white);
  opacity: 0.95;
  margin-bottom: var(--space-lg);
  max-width: 90%;
  line-height: 1.6;
}

.hero__cta-text {
  margin-top: 24px;
  margin-bottom: 16px;
  color: var(--color-white);
}

.hero__cta-link {
  color: var(--color-white);
  font-weight: 500;
  font-size: 16px;
  text-decoration: underline;
  padding: 4px 4px;
  margin: -4px -4px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: var(--transition-base);
}

.hero__cta-link::after {
  display: none;
}

.hero__cta-link:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

/* Hero sidebar */
.hero__sidebar {
  text-align: center;
  padding-top: 0;
}

.hero__card {
  background: var(--color-white);
  padding: 20px 10px;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  max-width: 340px;
  margin: 0 auto;
}

.hero__image {
  width: 100%;
  max-width: clamp(85px, 20vw + 60px, 280px);
  border-radius: var(--radius-md);
  display: block;
}

.hero__quote {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  text-align: center;
  margin: 0;
  width: 100%;
  max-width: 340px;
}

/* Full-width CTA section within hero - matches hero__inner padding */
.hero__cta-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px var(--space-2xl) 0 var(--space-2xl);
  text-align: left;
}

.hero__cta-section .hero__cta-text {
  display: block;
  color: var(--color-white);
  font-size: 18px;
  margin: 0;
}

.hero__cta-section .hero__cta-link {
  color: var(--color-white);
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   8. BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
  text-decoration: none;
  transform: none;
}

.btn:hover::before {
  opacity: 1;
}

.btn:active {
  transform: none;
}

/* Button variants */
.btn--small {
  padding: 10px 20px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.btn--white {
  background: var(--color-white);
  color: var(--color-purple);
  font-weight: 500;
}

.btn--white:hover {
  background: #e8e8e8;
  border-color: rgba(102, 126, 234, 0.3);
}

/* Modifier to remove shadow and add border */
.btn--no-shadow {
  box-shadow: none !important;
  border: 1px solid var(--color-purple) !important;
}

.btn--no-shadow:hover {
  box-shadow: none !important;
  background: #e8e8e8 !important;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-base);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-soft);
  text-decoration: none;
}

.btn-secondary--small {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-group {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

/* Special button styles */
.btn-vindicia {
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--color-white);
  padding: 9px 20px 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  transition: var(--transition-base);
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

.btn-vindicia::after {
  display: none;
}

.btn-vindicia:hover {
  border-color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  text-decoration: none;
}

/* ==========================================================================
   9. CARDS & TILES
   ========================================================================== */
.card {
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

/* Logo tiles */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 24px;
  align-items: center;
}

.logo-tile {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  padding: 20px;
}


.logo-tile--small {
  max-width: 150px;
  max-height: 150px;
  padding: 8px;
}

.logo-tile__name {
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 20px;
  font-family: var(--font-heading);
}

.logo-tile:empty {
  border: 1px dashed var(--color-border);
  min-height: 80px;
}

/* ==========================================================================
   10. SECTIONS
   ========================================================================== */
/* What to Expect */
.section-intro {
  padding: var(--space-xl) 0 56px;
}

/* Approach Section */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* Not Average Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* Credentials Section */
.credentials {
  padding: var(--space-xl) 0;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.credentials-box {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.credentials__title {
  font-size: 24px;
  margin-bottom: 16px;
}

.credentials__text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.credentials__logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(60px, 1fr));
  gap: var(--space-sm);
  align-items: center;
  justify-items: center;
  margin-bottom: var(--space-lg);
}

.credentials__badges {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.credentials__badge {
  display: flex;
  gap: 6px;
  align-items: center;
}

.credentials__badge img {
  height: 50px;
}

.credentials__badge-text {
  font-size: 16px;
  line-height: 1.4;
}

.credentials__link {
  color: var(--color-purple);
  font-weight: 500;
  padding: 4px 8px;
  margin: -4px -8px;
  border-radius: 6px;
  transition: var(--transition-base);
}

.credentials__link::after {
  display: none;
}

.credentials__link:hover {
  background: rgba(102, 126, 234, 0.08);
  color: var(--color-purple-dark);
  box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.15);
  text-decoration: none;
}

/* AI Solutions */
.ai-solutions {
  padding: var(--space-xl) 0;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

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

.ai-card__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.ai-card__title {
  font-size: 18px;
  margin-bottom: 12px;
}

.ai-card__description {
  font-size: 14px;
  line-height: 1.5;
}

/* Claude Expertise */
.claude-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* Current Project */
.project-box {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

/* Case Study */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

/* Schedule CTA */
.schedule-cta {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.schedule-cta__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.footer {
  background: rgb(110, 100, 198);  /* Flat purple instead of gradient */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  font-size: 14px;
  color: var(--color-white);
}

.footer a {
  color: var(--color-white);
}

/* ==========================================================================
   12. RESPONSIVE DESIGN
   ========================================================================== */
/* Header stacking at 775px to prevent collision */
@media (max-width: 775px) {
  .header__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 20px;
  }
  
  .header__button-wrapper {
    text-align: center;
  }
  
  .header__button-wrapper .btn--small {
    display: inline-block;
    width: auto;
  }
  
  .header__contact {
    justify-self: center;
    font-size: 13px;
  }
  
  .header__contact > * {
    margin: 0 4px;
  }
}

/* Three-column to one-column transition - 930px */
@media (max-width: 930px) {
  .approach-grid,
  .features-grid,
  .ai-grid,
  .claude-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Tablet - 768px and below */
@media (max-width: 768px) {
  
  /* Keep hero as two columns, just adjust ratio */
  .hero__inner {
    grid-template-columns: 1.3fr 1fr;
    padding: 0 30px 30px;
    gap: 30px;
  }
  
  .hero__cta-section {
    padding: 20px 30px 0 30px;
  }
  
  .hero__sidebar {
    align-self: start;
  }
  
  .hero__card {
    flex-direction: column;
    gap: 15px;
  }
  
  
  .case-study-grid {
    grid-template-columns: 1fr;
  }
  
  .credentials-grid {
    grid-template-columns: 1fr;
  }
  
  .credentials-box {
    min-height: auto;
  }
}

/* Mobile - 560px */
@media (max-width: 560px) {
  /* Stack hero vertically on mobile */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero__sidebar {
    order: 2;
  }
  
  .hero__content {
    order: 1;
    text-align: center;
    align-items: center;
  }
  
  .hero__title {
    text-align: center;
  }
  
  .hero__brand {
    text-align: center;
  }
  
  
  .btn-secondary--small {
    display: none;
  }
  
  .location-text {
    font-size: 0;
  }
  
  .location-text::after {
    content: "Bay Area\00a0\00a0";
    font-size: 12px;
  }
  
  
  .credentials-box {
    padding: 16px;
    min-height: auto;
  }
  
  .credentials__title {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .credentials__text {
    font-size: 13px;
    margin-bottom: 12px;
  }
  
  .credentials__logos {
    grid-template-columns: repeat(2, minmax(50px, 75px));
    gap: 6px;
    margin: 0 auto;
  }
  
  .logo-tile--small {
    padding: 2px;
    max-width: 75px;
    max-height: 75px;
    border-radius: 4px;
  }
  
  .credentials__badges {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .credentials__badge {
    gap: 8px;
  }
  
  .credentials__badge img {
    height: 35px;
  }
  
  .credentials__badge-text {
    font-size: 12px;
    line-height: 1.2;
  }
  
  .credentials__link {
    font-size: 12px;
    padding-top: 12px;
  }
  
  .credentials {
    padding: 32px 0;
  }
  
  section {
    padding: 32px 0;
  }
  
  .ai-solutions {
    padding: 24px 0;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 18px;
  }
  
  /* Remove full-width buttons - let them keep their natural size */
  
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .schedule-cta__content {
    flex-direction: column;
    text-align: center;
  }
  
  .schedule-cta .btn {
    margin-top: 16px;
  }
}

/* Extra small - 495px */




/* ==========================================================================
   13. UTILITY CLASSES
   ========================================================================== */
.text-center {
  text-align: center;
}

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

.text-muted {
  color: var(--color-text-muted);
}

.text-light {
  color: var(--color-text-light);
}

.text-white {
  color: var(--color-white);
}

.hide-mobile {
  display: block;
}

@media (max-width: 560px) {
  .hide-mobile {
    display: none;
  }
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: var(--space-xs); }
.pt-2 { padding-top: var(--space-sm); }
.pt-3 { padding-top: var(--space-md); }
.pt-4 { padding-top: var(--space-lg); }
.pt-5 { padding-top: var(--space-xl); }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: var(--space-xs); }
.pb-2 { padding-bottom: var(--space-sm); }
.pb-3 { padding-bottom: var(--space-md); }
.pb-4 { padding-bottom: var(--space-lg); }
.pb-5 { padding-bottom: var(--space-xl); }

/* ==========================================================================
   14. COMPATIBILITY LAYER (for vindicia.html and schedule.html)
   ========================================================================== */
/* Old variable mappings */
:root {
  --primary: var(--color-primary);
  --muted: var(--color-text-muted);
  --white: var(--color-white);
  --soft-bg: var(--color-bg-soft);
  --line: var(--color-border);
  --accent: var(--color-accent);
  --light-text: var(--color-text-light);
  --maxw: var(--container-max);
}

/* Wrap class (same as container) */
.wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-2xl);
  box-sizing: border-box;
}

/* CTA button (maps to btn) */
.cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
  text-decoration: none;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.cta:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
  text-decoration: none;
  transform: none;
}

.cta:hover::before {
  opacity: 1;
}

/* Form styles for schedule.html */
.form-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 40px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Remove form container styling on mobile */
@media (max-width: 560px) {
  .form-container {
    padding: 20px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin: 20px auto;
  }
}

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

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 14px;
  letter-spacing: 0.3px;
}

.form-label .required {
  color: var(--color-accent);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

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

.form-help {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.submit-button {
  background: var(--gradient-primary);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
}

.submit-button:hover::before {
  opacity: 1;
}

.submit-button:disabled {
  background: var(--color-text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Alert boxes */
.alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
}

.alert-info {
  background: #E8F4FD;
  border: 1px solid #BEE5F0;
  color: #0C5882;
}

.alert-success {
  background: #D4EDDA;
  border: 1px solid #C3E6CB;
  color: #155724;
}

.alert-error {
  background: #F8D7DA;
  border: 1px solid #F5C6CB;
  color: #721C24;
}

.form-status {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 16px;
  text-align: left;
  font-style: italic;
}

.loading-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

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

/* Calendly container - hidden by default, shown after form submission */
#calendly-container {
  display: none;
  margin-top: 40px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#calendly-container.show {
  display: block;
  opacity: 1;
}

.calendly-inline-widget {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}