/* Reset & Base Styles */
:root {
  --color-blue-50: #eff6ff;
  --color-blue-100: #dbeafe;
  --color-blue-200: #bfdbfe;
  --color-blue-500: #3b82f6;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;
  
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--color-slate-900);
  background-color: #ffffff;
  height: 100vh;
  width: 100vw;
  overflow: hidden; /* No scrolling requested */
}

/* Layout */
.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
}

/* Left Pane */
.left-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  position: relative;
  z-index: 10;
  overflow-y: auto;
}

/* Header */
.header {
  margin-bottom: 3rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--color-blue-600);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

/* Hero Content */
.hero-content {
  max-width: 42rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--color-blue-100);
  background-color: rgba(239, 246, 255, 0.5);
  color: var(--color-blue-700);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
}
.icon-blue {
  color: var(--color-blue-500);
}

.title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}
.text-blue {
  color: var(--color-blue-600);
}
.subtitle {
  font-size: 1.125rem;
  color: var(--color-slate-500);
  margin-bottom: 2.5rem;
  max-width: 32rem;
  line-height: 1.625;
  font-weight: 300;
}

/* Actions */
.actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background-color: var(--color-slate-900);
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1);
  width: 100%;
}
.btn-primary:hover {
  background-color: #000;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.2);
}
.btn-primary:active {
  transform: scale(0.95);
}
.arrow {
  transition: transform 0.2s ease;
}
.btn-primary:hover .arrow {
  transform: translateX(4px);
}
.btn-secondary {
  background: transparent;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-slate-600);
  transition: background-color 0.2s ease, color 0.2s ease;
  width: 100%;
  text-align: center;
}
.btn-secondary:hover {
  background-color: var(--color-slate-100);
  color: var(--color-slate-900);
}

/* Footer */
.footer {
  padding-bottom: 1.5rem;
  margin-top: 3rem;
}
.footer-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-400);
}
.footer-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Right Pane */
.right-pane {
  display: none; /* hidden on small screens */
}

/* Media Queries for Layout Adaptation */
@media (min-width: 640px) {
  .left-pane { padding: 2.5rem; }
  .actions { flex-direction: row; align-items: center; }
  .btn-primary, .btn-secondary { width: auto; }
  .title { font-size: 3.75rem; }
  .subtitle { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .container { flex-direction: row; }
  .left-pane { 
    padding: 4rem; 
    overflow-y: visible;
    margin-top: 0;
  }
  .header, .footer { margin-bottom: 0; margin-top: 0; }
  .title { font-size: 5rem; }
  
  .right-pane {
    display: flex;
    flex: 1;
    background-color: var(--color-slate-50);
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    overflow: hidden;
    border-left: 1px solid var(--color-slate-100);
  }
}

@media (min-width: 1280px) {
  .left-pane { padding: 6rem; }
  .title { font-size: 5.5rem; }
}

/* Right Pane Visuals */
.bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(219, 234, 254, 0.5), transparent, transparent);
  pointer-events: none;
}
.vertical-text {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.5);
  pointer-events: none;
}

.visual-abstract {
  position: relative;
  width: 100%;
  max-width: 36rem;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Card */
.main-card {
  position: absolute;
  z-index: 20;
  width: 24rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(226, 232, 240, 0.5);
  border: 1px solid white;
  padding: 2rem;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.dots {
  display: flex;
  gap: 0.5rem;
}
.dot {
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--color-slate-200);
  border-radius: 50%;
}
.card-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(to bottom right, var(--color-blue-50), #e0e7ff);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(37, 99, 235, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.main-card:hover .card-image-placeholder::before {
  opacity: 1;
}

.card-lines { margin-bottom: 2rem; }
.line { border-radius: 9999px; }
.line-1 {
  height: 1.25rem;
  width: 75%;
  background-color: var(--color-slate-100);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.line-2 {
  height: 1rem;
  width: 50%;
  background-color: var(--color-slate-50);
}

/* Shimmer effect in line-1 */
.shimmer {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
  transform: translateX(-100%);
  animation: shimmer 2s infinite;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.grid-item {
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1rem;
}
.item-blue {
  background-color: rgba(239, 246, 255, 0.5);
  border: 1px solid rgba(219, 234, 254, 0.5);
}
.item-slate {
  background-color: var(--color-slate-50);
  border: 1px solid var(--color-slate-100);
}
.grid-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.text-slate { color: var(--color-slate-400); }
.grid-bar { height: 0.5rem; border-radius: 9999px; }
.bar-blue { width: 2rem; background-color: var(--color-blue-200); }
.bar-slate { width: 3rem; background-color: var(--color-slate-200); }

/* Float Cards */
.float-card {
  position: absolute;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid white;
}
.card-layers {
  top: 10%;
  right: 10%;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  color: var(--color-blue-600);
  animation: float-y 5s ease-in-out infinite;
}
.card-workflow {
  bottom: 20%;
  left: 5%;
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  color: #6366f1; /* Indigo 500 */
  animation: float-y-reverse 6s ease-in-out infinite 1s;
}
.card-optimized {
  top: 30%;
  left: -5%;
  background-color: var(--color-slate-900);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border-color: var(--color-slate-800);
  gap: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.2);
  animation: float-y-tilt 4s ease-in-out infinite 2s;
}
.card-optimized span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

/* Rings Container */
.rings-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
  opacity: 0.3;
}
.ring {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}
.ring-dashed {
  width: 120%;
  border: 2px dashed rgba(191, 219, 254, 0.5); /* blue-200/50 */
  animation: spin 60s linear infinite;
}
.ring-solid {
  position: absolute;
  width: 80%;
  border: 1px solid var(--color-slate-200);
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

.cloud-pulse svg {
  animation: pulse-rotate 10s linear infinite;
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07));
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float-y {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(10px); }
}
@keyframes float-y-reverse {
  0%, 100% { transform: translateY(10px); }
  50% { transform: translateY(-10px); }
}
@keyframes float-y-tilt {
  0%, 100% { transform: translateY(-5px) rotate(-2deg); }
  50% { transform: translateY(5px) rotate(2deg); }
}
@keyframes shimmer {
  100% { transform: translateX(100%); }
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}
@keyframes pulse-rotate {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(5deg); }
}
