/* =========================================================================
   VARIABLES & DESIGN TOKENS
   ========================================================================= */
:root {
  --primary-blue: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;
  --bg-white: #FFFFFF;
  --bg-offwhite: #F8FAFC;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  
  --gradient-text: linear-gradient(90deg, #1E40AF 0%, #3B82F6 100%);
  --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --box-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --transition-fast: 0.15s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   BASE STYLES
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.text-blue { color: var(--primary-blue); margin-right: 0.5rem; }
.bg-light { background-color: var(--bg-offwhite); }

/* Layout Helpers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-sm {
  max-width: 800px;
}
.text-center { text-align: center; }
.section-padding { padding: 5rem 0; }
.pt-120 { padding-top: 8rem; }
.pb-80 { padding-bottom: 5rem; }
.mt-4 { margin-top: 2rem; }

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* =========================================================================
   COMPONENTS
   ========================================================================= */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: var(--box-shadow);
}

.btn-secondary:hover {
  background-color: var(--bg-offwhite);
  border-color: #cbd5e1;
}

.btn-text {
  background: none;
  color: var(--text-muted);
}
.btn-text:hover {
  color: var(--text-main);
}

.btn-large {
  padding: 0.875rem 2rem;
  font-size: 1.05rem;
  border-radius: 8px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background-color: var(--primary-light);
  color: var(--primary-blue);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  border-bottom-color: var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.05em;
}
.logo i { color: var(--primary-blue); font-size: 1.5rem; }
.logo-accent { font-weight: 400; color: var(--text-muted); }

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.nav-actions { display: none; gap: 1rem; align-items: center; }
.menu-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  display: block;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .menu-toggle { display: none; }
}

/* =========================================================================
   HERO / MOCKUP
   ========================================================================= */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 12px;
  perspective: 1000px;
  z-index: 10;
}

.hero-image {
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  background-color: #fff;
  transform: translateY(0);
  transition: transform var(--transition-smooth);
}

.hero-image:hover {
  transform: translateY(-5px);
}

/* Glass Orbs */
.glass-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: 0.6;
}
.orb-1 {
  width: 300px;
  height: 300px;
  background-color: rgba(37, 99, 235, 0.3);
  top: -100px;
  left: -50px;
}
.orb-2 {
  width: 250px;
  height: 250px;
  background-color: rgba(59, 130, 246, 0.2);
  bottom: -50px;
  right: -50px;
}

.trust-banner {
  margin-top: 5rem;
}

.trust-banner p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-logos {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  color: #94A3B8;
  font-size: 1.75rem;
  flex-wrap: wrap;
}

.trust-logos i {
  transition: color var(--transition-fast);
}

.trust-logos i:hover {
  color: var(--text-main);
}

/* =========================================================================
   FEATURES
   ========================================================================= */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--box-shadow);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-5px);
  border-color: #cbd5e1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--primary-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

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

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

/* =========================================================================
   SPLIT LAYOUT (INTEGRATION)
   ========================================================================= */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.feature-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 500;
}

.floating-cards {
  position: relative;
  height: 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.integration-card {
  background: var(--bg-white);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 280px;
  border: 1px solid var(--border-color);
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.integration-card i { font-size: 2rem; }
.integration-card h4 { font-size: 1rem; margin-bottom: 0.15rem; }
.integration-card span { font-size: 0.8rem; color: var(--text-muted); }

.integration-card:nth-child(1) { top: 10%; left: 0; animation-delay: 0s; }
.integration-card:nth-child(2) { top: 40%; right: 0; animation-delay: 1s; }
.integration-card:nth-child(3) { bottom: 10%; left: 10%; animation-delay: 2s; }

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

/* =========================================================================
   CTA SECTION
   ========================================================================= */
.cta-box {
  background: var(--bg-offwhite);
  border: 1px solid var(--border-color);
  padding: 4rem 2rem;
  border-radius: 16px;
  box-shadow: var(--box-shadow);
}

.cta-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

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

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--primary-blue);
}

.brand-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 1.5rem 0;
  max-width: 250px;
}

.social-links {
  display: flex;
  gap: 1rem;
  font-size: 1.25rem;
  color: var(--text-muted);
}
.social-links a:hover { color: var(--text-main); }

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


/* =========================================================================
   ANIMATIONS
   ========================================================================= */
/* Setup fade initial state */
.fade-up, .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active states */
.fade-up.active, .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hero elements specific delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Mobile responsiveness adjustments */
@media (max-width: 767px) {
  .hero-cta { flex-direction: column; }
  .btn-large { width: 100%; justify-content: center; }
  .integration-card { position: static; width: 100%; margin-bottom: 1rem; animation: none; }
  .floating-cards { height: auto; }
}
