/* CompliFlow NY Landing Page Styles */

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

:root {
  --cf-primary: #1e3a5f;
  --cf-primary-dark: #0f2744;
  --cf-accent: #10b981;
  --cf-accent-light: #34d399;
  --cf-bg: #ffffff;
  --cf-bg-alt: #f8fafc;
  --cf-bg-dark: #0f172a;
  --cf-text: #0f172a;
  --cf-text-secondary: #475569;
  --cf-text-muted: #64748b;
  --cf-border: #e2e8f0;
  --cf-shadow: 0 10px 30px rgba(0,0,0,0.08);
  --cf-shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --cf-radius: 16px;
  --cf-radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cf-bg);
  color: var(--cf-text);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

/* SITE LOGO */
.cf-site-logo {
  position: absolute;
  top: 38px;
  left: 20px;
  z-index: 100;
}

.cf-site-logo img {
  height: 50px;
  width: auto;
}

/* HERO SECTION */
.cf-hero {
  width: 100%;
  position: relative;
}

.cf-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA BAR */
.cf-cta-bar {
  background: linear-gradient(135deg, var(--cf-primary) 0%, var(--cf-primary-dark) 100%);
  color: white;
  padding: 48px 24px;
  text-align: center;
}

.cf-cta-bar .tagline {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
  margin-bottom: 16px;
}

.cf-cta-bar h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cf-sub-tagline {
  font-size: 21px;
  font-weight: 400;
  opacity: 0.7;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
  word-wrap: break-word;
}

.cf-cta-btn {
  display: inline-block;
  background: var(--cf-accent);
  color: white;
  padding: 16px 32px;
  border-radius: var(--cf-radius-sm);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  cursor: pointer;
  border: none;
}

.cf-cta-btn:hover {
  background: var(--cf-accent-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

/* LOGOS SECTION */
.cf-logos-section {
  background: var(--cf-bg-alt);
  padding: 48px 24px;
  text-align: center;
  border-bottom: 1px solid var(--cf-border);
}

.cf-logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 32px;
}

.cf-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cf-logo-item img {
  height: 64px;
  width: auto;
}

.cf-logo-item span {
  font-size: 11px;
  color: var(--cf-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cf-logos-section h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--cf-primary);
  margin-top: 10px;
}

/* VIDEO SECTION */
.cf-video-section {
  padding: 20px 24px;
  background: var(--cf-bg-alt);
  text-align: center;
}

.cf-video-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--cf-radius);
  overflow: hidden;
  box-shadow: var(--cf-shadow-lg);
}

.cf-video-wrapper video {
  width: 100%;
  display: block;
}

/* FEATURES SECTION */
.cf-features-section {
  background: var(--cf-bg);
  padding: 80px 24px;
}

.cf-features-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.cf-features-header p {
  font-size: 24px;
  font-weight: 600;
  color: var(--cf-primary);
  line-height: 1.5;
}

.cf-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.cf-feature-card {
  background: white;
  border-radius: var(--cf-radius);
  padding: 32px;
  box-shadow: var(--cf-shadow);
  border: 1px solid var(--cf-border);
  transition: all 0.3s ease;
}

.cf-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cf-shadow-lg);
}

.cf-feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--cf-primary) 0%, var(--cf-primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cf-feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.cf-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--cf-primary);
  margin-bottom: 12px;
}

.cf-feature-card p {
  font-size: 14px;
  color: var(--cf-text-secondary);
  line-height: 1.7;
}

.cf-feature-card.cf-full-width {
  grid-column: span 2;
  max-width: 700px;
  margin: 0 auto;
}

/* CTA SECTION */
.cf-cta-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--cf-primary) 0%, var(--cf-primary-dark) 100%);
  color: white;
  text-align: center;
}

.cf-cta-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

.cf-cta-section .cf-cta-btn {
  background: var(--cf-accent);
  margin-bottom: 48px;
}

/* CONTACT INFO */
.cf-contact-info {
  max-width: 600px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 32px;
}

.cf-contact-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.cf-contact-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  opacity: 0.9;
}

.cf-contact-item svg {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

.cf-contact-item a {
  color: white;
  text-decoration: none;
}

.cf-contact-item a:hover {
  text-decoration: underline;
}

/* FOOTER */
.cf-footer {
  background: var(--cf-bg-dark);
  color: white;
  padding: 32px 24px;
  text-align: center;
}

.cf-footer p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

/* CALENDLY POPUP */
.cf-calendly-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.cf-calendly-overlay.active {
  display: flex;
}

.cf-calendly-popup {
  background: white;
  border-radius: var(--cf-radius);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow: auto;
  position: relative;
}

.cf-calendly-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--cf-primary);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.cf-calendly-close:hover {
  background: var(--cf-primary-dark);
}

.cf-calendly-popup iframe {
  width: 100%;
  height: 700px;
  border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cf-features-grid { grid-template-columns: 1fr; }
  .cf-feature-card.cf-full-width { grid-column: span 1; }
  .cf-logos-container { gap: 24px; }
  .cf-cta-bar h2 { font-size: 32px; }
  .cf-features-header p { font-size: 20px; }
  .cf-calendly-popup { width: 95%; }
  .cf-calendly-popup iframe { height: 600px; }
}