/* ==========================================================================
   VRIDHIKA — Unique Enterprise Executive System
   Palette: Warm Alabaster Canvas, Rich Slate Typography, Multi-Spectrum Accents
   Editorial Eyebrow Layout + Mobile Optimized (Phones & Tablets)
   ========================================================================== */

:root {
  /* Bespoke Vridhika Executive Palette */
  --vridhika-blue: #0284c7;
  --vridhika-cyan: #06b6d4;
  --vridhika-green: #059669;
  --vridhika-amber: #d97706;
  --vridhika-magenta: #e11d48;
  
  --color-primary: #0284c7;
  --color-primary-hover: #0369a1;
  
  --color-bg-canvas: #fbfaf8;      /* Warm Executive Alabaster/Porcelain */
  --color-surface-card: #ffffff;
  --color-surface-input: #f8fafc;
  
  --color-border-subtle: #e2e8f0;
  --color-border-strong: #cbd5e1;
  --color-border-focus: #0284c7;
  
  --color-text-main: #0f172a;      /* Rich Slate Black */
  --color-text-muted: #475569;     /* Muted Slate */
  --color-text-dim: #94a3b8;
  
  --color-error: #e11d48;
  --color-success: #059669;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevation & Physics */
  --transition-fast: 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  
  --shadow-card: 0 20px 40px -15px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 28px 50px -15px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-input-focus: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--color-bg-canvas);
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Dynamic Interactive Background Canvas */
.architectural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Interactive Mouse Spotlight Radial Aura */
.mouse-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(2, 132, 199, 0.085) 0%, rgba(6, 182, 212, 0.045) 30%, rgba(251, 250, 248, 0) 70%);
  border-radius: 50%;
  transition: opacity 0.4s ease;
  will-change: transform;
}

.top-ambient-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 850px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(5, 150, 105, 0.04) 0%, rgba(2, 132, 199, 0.04) 40%, rgba(251, 250, 248, 0) 75%);
}

.canvas-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 85%);
}

/* Layout Container */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: none;
}

.brand-container {
  display: flex;
  align-items: center;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-nav-icon {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  filter: drop-shadow(0 2px 8px rgba(2, 132, 199, 0.12));
}

.brand-nav-icon:hover {
  transform: scale(1.06);
  opacity: 0.95;
}

/* Main Content */
.main-content {
  display: flex;
  flex-direction: column;
}

/* SCREEN 1: Hero Viewport (Upper Screen - Full 100vh Centered) */
.hero-viewport {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
  box-sizing: border-box;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  width: 100%;
}

/* Bespoke Editorial Eyebrow (No Rounded AI Pill Box) */
.coming-soon-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.eyebrow-symbol {
  font-size: 0.85rem;
  color: var(--vridhika-blue);
  animation: pulseSymbol 2.5s ease-in-out infinite alternate;
}

@keyframes pulseSymbol {
  0% { opacity: 0.6; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.1); }
}

.eyebrow-text {
  font-family: var(--font-heading);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text-main);
  margin-bottom: 1.15rem;
}

.highlight-text {
  background: linear-gradient(135deg, var(--vridhika-blue) 0%, var(--vridhika-cyan) 40%, var(--vridhika-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  color: var(--color-text-muted);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 3rem;
  font-weight: 400;
}

/* Scroll Prompt Link */
.scroll-prompt {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.scroll-prompt:hover {
  color: var(--color-primary);
}

.scroll-arrow-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.scroll-prompt:hover .scroll-arrow-wrapper {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(3px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

/* SCREEN 2: Inquiry Section (Lower Screen) */
.inquiry-section {
  padding: 3.5rem 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 1.75rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3.5vw, 1.6rem);
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.section-subheading {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  max-width: 480px;
}

/* Professional Executive Card */
.professional-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.inquiry-card {
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  text-align: left;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.inquiry-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card-hover);
}

.card-header {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: 0.95rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.card-description {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

/* Form Styles */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.required {
  color: var(--color-primary);
}

.optional {
  font-weight: 400;
  color: var(--color-text-dim);
  font-size: 0.75rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--color-surface-input);
  border: 1px solid var(--color-border-subtle);
  border-radius: 9px;
  padding: 0.68rem 0.85rem;
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  min-height: 42px;
  transition: all var(--transition-fast);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--color-text-dim);
}

.form-input:hover, .form-select:hover, .form-textarea:hover {
  border-color: var(--color-border-strong);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-input-focus);
}

.form-select {
  appearance: none;
  cursor: pointer;
  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='%23475569' 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 0.85rem center;
  padding-right: 2.25rem;
}

.form-select option {
  background-color: #ffffff;
  color: var(--color-text-main);
}

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

.error-message {
  font-size: 0.775rem;
  color: var(--color-error);
  min-height: 0.95rem;
}

/* reCAPTCHA Styling */
.recaptcha-wrapper {
  margin-top: 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  width: 100%;
}

.g-recaptcha, #g-recaptcha-widget {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.85);
  transform-origin: center;
  margin: -0.4rem auto;
}

.recaptcha-placeholder {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.95rem;
  background: var(--color-bg-canvas);
  border: 1px dashed var(--color-border-strong);
  border-radius: 9px;
}

.shield-icon {
  font-size: 1.2rem;
}

.recaptcha-info {
  display: flex;
  flex-direction: column;
}

.recaptcha-title {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.recaptcha-subtitle {
  font-size: 0.725rem;
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.75rem;
  border-radius: 9px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  width: 100%;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--color-bg-canvas);
  color: var(--color-text-main);
  border: 1px solid var(--color-border-subtle);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--color-border-strong);
}

/* Spinner */
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

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

/* Success State */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.85rem 0.5rem;
  gap: 0.85rem;
}

.success-icon {
  width: 44px;
  height: 44px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: bold;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.form-success p {
  color: var(--color-text-muted);
  max-width: 360px;
  font-size: 0.85rem;
}

/* Footer */
.footer {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  margin-top: 2rem;
  border-top: none;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-top: -3px; /* Optical baseline adjustment so logo text aligns in a straight line */
}

.footer-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.footer-logo:hover {
  opacity: 1;
}

.copyright {
  font-size: 0.775rem;
  color: var(--color-text-dim);
  display: flex;
  align-items: center;
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.775rem;
  margin: 0;
}

.footer-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
}

.dot-separator {
  color: var(--color-text-dim);
  font-size: 0.7rem;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* ==========================================================================
   MOBILE & PHONE OPTIMIZATION (Media Queries)
   ========================================================================== */

@media (max-width: 768px) {
  .app-container {
    padding: 0 1rem;
  }

  .hero-viewport {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 1.5rem 0;
    text-align: center;
  }

  .hero-inner {
    align-items: center;
    text-align: center;
  }

  .coming-soon-eyebrow {
    gap: 0.4rem;
    margin-bottom: 1rem;
    justify-content: center;
  }

  .eyebrow-text {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.85rem, 5.8vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-align: center;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 3.2vw, 1rem);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: center;
    max-width: 92%;
  }

  .section-title-wrapper {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .section-heading {
    font-size: clamp(1.25rem, 4.2vw, 1.45rem);
    text-align: center;
    margin-bottom: 0.35rem;
  }

  .section-subheading {
    font-size: 0.825rem;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
  }

  .inquiry-section {
    padding: 2.5rem 0 2rem;
    width: 100%;
    text-align: center;
  }

  .inquiry-card {
    max-width: 420px;
    width: 92%;
    padding: 1.4rem 1.2rem;
    border-radius: 16px;
    margin: 0 auto;
    box-shadow: 0 12px 32px -10px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.02);
  }

  .card-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    text-align: center;
  }

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

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

  .inquiry-form {
    gap: 0.9rem;
    text-align: left;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }
}

@media (max-width: 480px) {
  .app-container {
    padding: 0.75rem 0.75rem;
  }

  .brand-nav-icon {
    height: 24px;
  }

  .coming-soon-eyebrow {
    margin-bottom: 0.85rem;
  }

  .eyebrow-text {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6.8vw, 2.1rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
  }

  .hero-subtitle {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    max-width: 96%;
  }

  .scroll-prompt {
    font-size: 0.8rem;
  }

  .section-heading {
    font-size: 1.2rem;
  }

  .section-subheading {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .inquiry-section {
    padding: 2rem 0 1.5rem;
    width: 100%;
  }

  .inquiry-card {
    max-width: 380px;
    width: 94%;
    padding: 1.2rem 1rem;
    border-radius: 14px;
    margin: 0 auto;
  }

  .card-header {
    text-align: center;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
  }

  .card-title {
    font-size: 0.975rem;
    text-align: center;
  }

  .card-description {
    font-size: 0.76rem;
    text-align: center;
  }

  .form-label {
    font-size: 0.775rem;
  }

  /* Prevent auto-zoom on iOS Safari on input focus while keeping compact sizing */
  .form-input, .form-select, .form-textarea {
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    font-size: 16px;
    min-height: 40px;
  }

  .form-textarea {
    min-height: 65px;
  }

  .btn {
    min-height: 42px;
    padding: 0.7rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 8px;
  }

  .g-recaptcha, #g-recaptcha-widget {
    transform: scale(0.76);
    transform-origin: center;
    margin: -0.6rem auto;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.725rem;
  }

  .copyright {
    font-size: 0.725rem;
    text-align: center;
  }
}
