/* Adaptara Landing Page Styles */
/* All styles scoped to .landing-page to prevent affecting rest of app */

/* Brand Colors:
   Deep Base (navy): #1A2B56
   Shadow Tone (dark purple-blue): #2D2A78
   Mid-Tone Blue (royal blue): #3B6BC5
   Teal Accent (cyan-blue): #48C6EF
   Highlight (icy blue): #D1F2FF
*/

:root {
  --adaptara-deep: #1A2B56;
  --adaptara-shadow: #2D2A78;
  --adaptara-mid: #3B6BC5;
  --adaptara-teal: #48C6EF;
  --adaptara-highlight: #D1F2FF;
}

body.landing-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f0f9ff 100%);
  min-height: 100vh;
  color: var(--adaptara-deep);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Animated background shapes - geometric/block style */
.landing-page .bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.landing-page .bg-shape {
  position: absolute;
  opacity: 0.1;
  animation: float-geometric 25s infinite ease-in-out;
}

/* Large rotated square - top right */
.landing-page .bg-shape-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--adaptara-teal), var(--adaptara-highlight));
  top: -100px;
  right: -100px;
  transform: rotate(15deg);
  border-radius: 8px;
  animation-delay: 0s;
  opacity: 0.12;
}

/* Parallelogram - bottom left */
.landing-page .bg-shape-2 {
  width: 350px;
  height: 250px;
  background: linear-gradient(135deg, var(--adaptara-mid), var(--adaptara-teal));
  bottom: -50px;
  left: -80px;
  transform: skewX(-12deg) rotate(-5deg);
  border-radius: 6px;
  animation-delay: -8s;
  opacity: 0.08;
}

/* Small diamond - center right */
.landing-page .bg-shape-3 {
  width: 150px;
  height: 150px;
  background: var(--adaptara-shadow);
  top: 40%;
  right: 15%;
  transform: rotate(45deg);
  border-radius: 4px;
  animation-delay: -12s;
  opacity: 0.06;
}

/* Tall rectangle - left side */
.landing-page .bg-shape-4 {
  width: 80px;
  height: 300px;
  background: linear-gradient(180deg, var(--adaptara-teal), transparent);
  top: 20%;
  left: 8%;
  transform: rotate(-8deg);
  border-radius: 4px;
  animation-delay: -4s;
  opacity: 0.07;
}

/* Small square - bottom right */
.landing-page .bg-shape-5 {
  width: 120px;
  height: 120px;
  background: var(--adaptara-mid);
  bottom: 15%;
  right: 5%;
  transform: rotate(20deg);
  border-radius: 4px;
  animation-delay: -16s;
  opacity: 0.05;
}

@keyframes float-geometric {
  0%, 100% {
    transform: translate(0, 0) rotate(var(--base-rotation, 15deg));
  }
  25% {
    transform: translate(15px, -20px) rotate(calc(var(--base-rotation, 15deg) + 3deg));
  }
  50% {
    transform: translate(-10px, 15px) rotate(calc(var(--base-rotation, 15deg) - 2deg));
  }
  75% {
    transform: translate(8px, 5px) rotate(calc(var(--base-rotation, 15deg) + 1deg));
  }
}

.landing-page .bg-shape-1 { --base-rotation: 15deg; }
.landing-page .bg-shape-2 { --base-rotation: -5deg; }
.landing-page .bg-shape-3 { --base-rotation: 45deg; }
.landing-page .bg-shape-4 { --base-rotation: -8deg; }
.landing-page .bg-shape-5 { --base-rotation: 20deg; }

/* Main content */
.landing-page .landing-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header/Nav */
.landing-page .landing-header {
  padding: 1.5rem 2rem;
}

.landing-page .brand-lockup {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin-left: -0.5rem;
}

.landing-page .brand-logo {
  height: 100px;
  width: auto;
  display: block;
}

.landing-page .brand-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--adaptara-deep);  
  letter-spacing: -1px;
  margin-left: -24px;
  line-height: 1;
  padding-bottom: 0.25rem;
}

/* Hero Section */
.landing-page .hero-section {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem;
}

.landing-page .hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.landing-page .hero-tagline {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--adaptara-mid);
  margin-bottom: 1rem;
}

.landing-page .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--adaptara-deep);
}

.landing-page .hero-title .highlight {
  background: linear-gradient(90deg, var(--adaptara-mid), var(--adaptara-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-page .hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #475569;
  max-width: 700px;
  margin-bottom: 2.5rem;
}

/* Features Grid */
.landing-page .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.landing-page .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.landing-page .feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--adaptara-teal), var(--adaptara-highlight));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.landing-page .feature-icon i {
  font-size: 1.25rem;
  color: var(--adaptara-deep);
}

.landing-page .feature-text h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--adaptara-deep);
}

.landing-page .feature-text p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

/* Contact Form Card */
.landing-page .form-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 450px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(26, 43, 86, 0.1);
}

.landing-page .form-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--adaptara-deep);
}

.landing-page .form-card-subtitle {
  font-size: 0.9375rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.landing-page .form-group {
  margin-bottom: 1.25rem;
}

.landing-page .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--adaptara-deep);
  margin-bottom: 0.5rem;
}

.landing-page .form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: var(--adaptara-deep);
  transition: all 0.2s ease;
}

.landing-page .form-control::placeholder {
  color: #94a3b8;
}

.landing-page .form-control:focus {
  outline: none;
  background: #fff;
  border-color: var(--adaptara-teal);
  box-shadow: 0 0 0 3px rgba(72, 198, 239, 0.2);
}

.landing-page .form-control.is-invalid {
  border-color: #ef4444;
}

.landing-page .invalid-feedback {
  color: #dc2626;
  font-size: 0.8125rem;
  margin-top: 0.375rem;
}

.landing-page .btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--adaptara-mid), var(--adaptara-teal));
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.landing-page .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 107, 197, 0.3);
}

.landing-page .btn-submit:active {
  transform: translateY(0);
}

/* Success Alert */
.landing-page .alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.landing-page .alert-success i {
  font-size: 1.25rem;
}

/* Footer */
.landing-page .landing-footer {
  padding: 2rem;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 991px) {
  .landing-page .hero-section {
    padding: 2rem 1.5rem;
  }

  .landing-page .hero-content {
    display: flex;
    flex-direction: column;
  }

  .landing-page .form-card {
    max-width: 100%;
    margin-top: 2rem;
  }
}

@media (min-width: 992px) {
  .landing-page .hero-content {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 4rem;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .landing-page .landing-header {
    padding: 1rem;
  }

  .landing-page .hero-section {
    padding: 1rem;
  }

  .landing-page .form-card {
    padding: 1.5rem;
  }

  .landing-page .features-grid {
    grid-template-columns: 1fr;
  }
}
