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

/* --- CUSTOM VARIABLES --- */
:root {
  --primary: #1A5276;
  --primary-hover: #154260;
  --primary-light: #ebf3f9;
  --accent: #00C4FF;
  --accent-hover: #00a3d4;
  --dark: #1C2833;
  --dark-light: #566573;
  --light: #F4F6F7;
  --white: #FFFFFF;
  
  --font-title: 'Inter', sans-serif;
  --font-body: 'Roboto', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 16px rgba(26, 82, 118, 0.08);
  --shadow-lg: 0 16px 32px rgba(26, 82, 118, 0.12);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASIC STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

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

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--dark-light);
}

/* --- BUTTONS & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #0b2c3f; /* Premium dark blue contrast */
  box-shadow: 0 4px 12px rgba(0, 196, 255, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 196, 255, 0.35);
}

.btn-secondary {
  background-color: var(--primary-light);
  color: var(--primary);
}

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

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

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

/* --- HEADER / NAVIGATION --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 82, 118, 0.08);
  padding: 1rem 0;
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo-dot {
  color: var(--accent);
}

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

.nav-links a {
  font-family: var(--font-title);
  font-weight: 500;
  color: var(--dark-light);
}

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

.nav-mobile-only {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
  background: radial-gradient(circle at 85% 15%, var(--primary-light) 0%, var(--white) 65%);
  padding: 7rem 0 5rem 0;
  overflow: hidden;
}

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

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--dark-light);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 82, 118, 0.1);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: var(--transition-slow);
}

.hero-image-container:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-image-container img {
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- SOCIAL PROOF --- */
.social-proof {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(26, 82, 118, 0.08);
  background-color: var(--white);
}

.social-proof p {
  text-align: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.social-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  opacity: 0.75;
}

.social-logos img {
  height: 38px;
  filter: grayscale(1);
  transition: var(--transition);
}

.social-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* --- TABS & BENTO GRID SECTION --- */
.modules {
  background-color: var(--light);
}

.tabs-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  background-color: var(--white);
  border: 1px solid rgba(26, 82, 118, 0.15);
  color: var(--dark-light);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition-slow);
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.bento-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26, 82, 118, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card-main h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.bento-card-main p {
  color: var(--dark-light);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.bento-bullets {
  list-style: none;
  margin-bottom: 2rem;
}

.bento-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--dark);
}

.bento-bullets li i {
  color: var(--accent);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.bento-image-wrapper {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid rgba(26, 82, 118, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-image-wrapper img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* Premium integration badge */
.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #E8F8F5;
  color: #117864;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-family: var(--font-title);
  font-weight: 700;
  margin-bottom: 1rem;
  align-self: flex-start;
}

/* --- DIFFERENTIALS SECTION --- */
.differentials {
  background-color: var(--white);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.diff-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--white);
  border: 1px solid rgba(26, 82, 118, 0.08);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.diff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

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

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

.diff-card p {
  color: var(--dark-light);
  font-size: 0.95rem;
}

/* --- INTEGRATION SECTION --- */
.integration {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: var(--white);
}

.integration h2, .integration h3 {
  color: var(--white);
}

.integration .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.integration-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.integration-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.integration-logo-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.logo-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.logo-connection {
  flex-grow: 1;
  height: 2px;
  background: dashed rgba(255, 255, 255, 0.4);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-connection i {
  position: absolute;
  color: var(--accent);
  background-color: var(--primary);
  border-radius: 50%;
  padding: 4px;
}

/* --- LEAD CAPTURE FORM SECTION --- */
.lead-capture {
  background-color: var(--light);
}

.lead-capture .container {
  max-width: 650px;
}

.form-wrapper {
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 82, 118, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(26, 82, 118, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: var(--light);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 196, 255, 0.15);
}

.form-status {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1.5rem;
  animation: fadeInUp 0.3s ease;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background-color: #E8F8F5;
  color: #117864;
  border: 1px solid #A3E4D7;
}

.form-status.error {
  background-color: #FADBD8;
  color: #78281F;
  border: 1px solid #F5B7B1;
}

/* Spinner Loader */
.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(11, 44, 63, 0.3);
  border-radius: 50%;
  border-top-color: #0b2c3f;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
}

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

/* --- FOOTER --- */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
  border-top: 5px solid var(--primary);
}

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

.footer-info h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-info p {
  color: var(--dark-light);
  margin-bottom: 1.5rem;
}

.footer-brand {
  font-size: 0.8rem;
  color: var(--dark-light);
}

.footer-brand a {
  color: var(--accent);
  font-weight: 600;
}

.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-family: var(--font-title);
  margin-bottom: 1.25rem;
}

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

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

.footer-links a {
  color: var(--dark-light);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark-light);
  margin-bottom: 0.75rem;
}

.footer-contact p a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--dark-light);
}

/* --- ANIMATION CLASSES --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-container {
    transform: none;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero-image-container:hover {
    transform: none;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .diff-grid {
    grid-template-columns: 1fr;
  }
  
  .integration .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.75rem 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(26, 82, 118, 0.08);
    display: none;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-actions {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .form-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .nav-mobile-only {
    display: inline-flex !important;
  }
}
