/* public/assets/css/landing.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #1e293b; /* Deep Navy Blue */
  --secondary: #0ea5e9; /* Clinical Teal/Cyan */
  --secondary-hover: #0284c7;
  --bg-color: #f8fafc; /* Light Mode Background */
  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --text-dark: #0f172a;
  --text-muted: #475569;
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-border: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  border-radius: 1rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--secondary), var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 5s linear infinite;
}

@keyframes textShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

p.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Layout & Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.2) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(50px);
  animation: pulseBlob 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 40%;
  left: -150%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulseBlob 8s infinite alternate-reverse cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulseBlob {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  50% { transform: scale(1.2) translate(-20px, 20px); opacity: 0.8; }
  100% { transform: scale(0.9) translate(20px, -20px); opacity: 1; }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 600px;
  z-index: 2;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
}

.hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.25);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease-in-out;
}

.hero-image:hover {
  transform: scale(1.05) translateY(-15px) rotate(-1deg);
  box-shadow: 0 35px 60px -15px rgba(14, 165, 233, 0.4);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

.badge-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 20%;
  right: -5%;
  animation-delay: 2s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Features Grid */
.features-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px -15px rgba(14, 165, 233, 0.3);
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.9);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--secondary);
  color: white;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Architecture Section */
.architecture-section {
  background: linear-gradient(180deg, transparent 0%, rgba(14,165,233,0.03) 100%);
}

.arch-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.arch-boxes {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.arch-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
}

.arch-box i {
  font-size: 2rem;
  color: var(--primary);
}

/* ROI Section (Comparison Table) */
.roi-section {
  text-align: center;
}

.comparison-table-wrapper {
  margin-top: 3rem;
  overflow-x: auto;
  padding: 1rem;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  border-radius: 1rem;
  overflow: hidden;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.comparison-table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.comparison-table th:first-child { border-top-left-radius: 1rem; }
.comparison-table th:last-child { border-top-right-radius: 1rem; }
.comparison-table tr:last-child td:first-child { border-bottom-left-radius: 1rem; }
.comparison-table tr:last-child td:last-child { border-bottom-right-radius: 1rem; }

.comparison-table td.highlight {
  background: rgba(14, 165, 233, 0.05);
  font-weight: 600;
  color: var(--secondary);
}

.comparison-table tr:last-child td { border-bottom: none; }

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  border-radius: 2rem;
  margin: 4rem auto;
  max-width: 1000px;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  color: white;
}

.cta-section .subtitle {
  color: rgba(255,255,255,0.8);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(14,165,233,0.3) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
  z-index: 0;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

.cta-content {
  position: relative;
  z-index: 1;
}

/* Footer */
footer {
  background: white;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  h1 { font-size: 2.8rem; }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .arch-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  h1 { font-size: 2.2rem; }
  section { padding: 4rem 0; }
  .floating-badge { display: none; }
}
