/* ============================================
   SYNTHFY LLC V3 — Warm, Premium, Enterprise
   Inspired by Entrans.ai — but cleaner & better
   ============================================ */

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

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

:root {
  --primary: #111827;
  --accent: #e8503a;
  --accent-hover: #d4442f;
  --accent-soft: #fff1ef;
  --blue: #2563eb;
  --blue-soft: #eff4ff;
  --teal: #0d9488;
  --warm-gray: #f7f6f3;
  --warm-gray-2: #f0eeeb;
  --card-bg: #faf9f7;
  --card-tint: #f5f0fb;
  --white: #ffffff;
  --text: #374151;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --section-pad: 110px;
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: var(--section-pad) 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 20px; height: 2px; background: var(--accent); border-radius: 2px;
}
.section-header { text-align: center; max-width: 660px; margin: 0 auto 64px; }
.section-header p { font-size: 1.1rem; color: var(--text-light); margin-top: 16px; line-height: 1.8; }

/* ===== NAV ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: var(--transition); padding: 0;
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--primary); letter-spacing: -0.04em; }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-light); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta {
  padding: 10px 24px !important; background: var(--primary) !important;
  color: var(--white) !important; border-radius: 8px; font-weight: 600 !important;
}
.nav-cta:hover { background: #1f2937 !important; transform: translateY(-1px); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--primary); margin: 5px 0; transition: var(--transition); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px;
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.925rem;
  font-weight: 600; cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #1f2937; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,80,58,0.25); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-arrow::after { content: ' \2192'; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  overflow: hidden; padding: 100px 0 80px;
}
.hero-image {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0;
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-image::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero h1 { color: var(--white); margin-bottom: 20px; line-height: 1.15; }
.hero h1 em { font-style: italic; color: var(--white); opacity: 0.9; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.75); line-height: 1.8; max-width: 500px; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== SERVICE CARDS (Entrans-style) ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--card-tint); border-radius: var(--radius); padding: 36px 32px;
  transition: var(--transition); position: relative; border: 1px solid transparent;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); background: var(--white); border-color: var(--border); }
.service-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.service-card .check-list { margin-top: 12px; }
.service-card .check-list li {
  display: flex; align-items: center; gap: 8px; padding: 4px 0;
  font-size: 0.85rem; color: var(--text-light);
}
.service-card .check-list li::before {
  content: '\2713'; color: var(--teal); font-weight: 700; font-size: 0.8rem;
  width: 20px; height: 20px; background: rgba(13,148,136,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service-card-image {
  margin-top: 20px; border-radius: 12px; overflow: hidden; height: 180px;
  position: relative;
}
.service-card-image img { width: 100%; height: 100%; object-fit: cover; }
.service-card-image .arrow-link {
  position: absolute; bottom: 12px; right: 12px; width: 36px; height: 36px;
  background: var(--white); border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 0.9rem; color: var(--primary);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.service-card-image .arrow-link:hover { transform: scale(1.1); }

/* ===== DARK BAND ===== */
.dark-section {
  background: var(--primary); color: var(--white); padding: var(--section-pad) 0;
}
.dark-section h2 { color: var(--white); }
.dark-section p { color: rgba(255,255,255,0.6); }
.dark-section .section-label { color: var(--accent); }

.features-row { display: flex; gap: 48px; align-items: flex-start; }
.features-text { flex: 1; }
.features-text p { font-size: 1.05rem; color: rgba(255,255,255,0.6); margin-top: 16px; line-height: 1.8; max-width: 480px; }
.features-list { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  width: 48px; height: 48px; border: 1.5px solid rgba(232,80,58,0.3); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); font-size: 1.2rem;
}
.feature-item h4 { color: var(--white); margin-bottom: 4px; }
.feature-item p { font-size: 0.875rem; color: rgba(255,255,255,0.5); }

/* ===== TRUST CARDS (Entrans-style) ===== */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-card {
  border-radius: var(--radius); overflow: hidden; position: relative;
  height: 320px; cursor: pointer; transition: var(--transition);
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trust-card img { width: 100%; height: 100%; object-fit: cover; }
.trust-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.trust-card-overlay h4 { color: var(--white); margin-bottom: 4px; font-size: 1rem; }
.trust-card-overlay p { color: rgba(255,255,255,0.7); font-size: 0.825rem; }

/* ===== INDUSTRIES ===== */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card { text-align: center; transition: var(--transition); }
.industry-card:hover { transform: translateY(-4px); }
.industry-image {
  border-radius: var(--radius); overflow: hidden; height: 240px; margin-bottom: 16px;
}
.industry-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.industry-card:hover .industry-image img { transform: scale(1.05); }
.industry-card h4 { margin-bottom: 6px; }
.industry-card p { font-size: 0.85rem; color: var(--text-light); }

/* ===== PROCESS / HOW IT WORKS ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: process; }
.process-step { text-align: center; padding: 24px 16px; }
.process-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: var(--accent-soft); color: var(--accent);
  border-radius: 12px; font-family: var(--font-display); font-weight: 800;
  font-size: 1rem; margin-bottom: 16px;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: 0.875rem; color: var(--text-light); max-width: 240px; margin: 0 auto; }

/* ===== TESTIMONIAL ===== */
.testimonial-section { background: var(--white); }
.testimonial-quote {
  font-family: var(--font-display); font-size: 1.5rem; font-style: italic;
  line-height: 1.6; color: var(--text-light); max-width: 900px;
}
.testimonial-quote strong { color: var(--primary); font-weight: 700; font-style: italic; }
.quote-mark { font-size: 4rem; color: var(--accent); font-family: Georgia, serif; line-height: 1; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.testimonial-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--warm-gray);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  font-size: 1.2rem; color: var(--accent);
}
.testimonial-name { font-weight: 700; color: var(--accent); font-size: 0.95rem; }
.testimonial-role { font-size: 0.825rem; color: var(--text-muted); }

/* ===== CTA ===== */
.cta-section { background: var(--primary); text-align: center; position: relative; overflow: hidden; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.5); font-size: 1.1rem; max-width: 480px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.pricing-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; transition: var(--transition);
}
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); position: relative; }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; background: var(--accent); color: var(--white); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 100px;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-tier { font-size: 0.8rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.pricing-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.pricing-card .price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--primary); margin: 16px 0 4px; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-card .price-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { border-top: 1px solid var(--border-light); padding-top: 20px; margin-bottom: 24px; }
.pricing-features li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 0.875rem; color: var(--text); }
.pricing-features li::before { content: '\2713'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-icon-box {
  width: 48px; height: 48px; background: var(--accent-soft); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-item h4 { margin-bottom: 4px; }
.contact-item p { font-size: 0.9rem; color: var(--text-light); }
.contact-item a { color: var(--accent); font-weight: 500; }
.contact-form-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.825rem; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text); outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,80,58,0.08); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ===== SPLIT SECTION (About) ===== */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-content h2 { margin-bottom: 20px; }
.split-content p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.split-visual { border-radius: var(--radius); overflow: hidden; }
.split-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { padding: 140px 0 60px; text-align: center; background: var(--warm-gray); }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; color: var(--text-light); max-width: 540px; margin: 0 auto; }

/* ===== FOOTER ===== */
.footer { background: var(--primary); padding: 72px 0 28px; color: rgba(255,255,255,0.5); }
.footer-top { display: flex; align-items: center; gap: 24px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-top .logo { color: var(--white); }
.footer-top p { font-size: 0.9rem; color: rgba(255,255,255,0.4); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 40px; }
.footer h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer li { margin-bottom: 8px; }
.footer a { font-size: 0.875rem; color: rgba(255,255,255,0.4); }
.footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; display: flex; justify-content: space-between; font-size: 0.8rem; color: rgba(255,255,255,0.25); }
.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input { flex: 1; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; background: transparent; color: var(--white); font-size: 0.85rem; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form button { padding: 10px 18px; background: var(--accent); color: var(--white); border: none; border-radius: 8px; font-size: 0.8rem; font-weight: 600; cursor: pointer; }

/* ===== CINDY CHATBOT ===== */
.chatbot-trigger {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  width: 58px; height: 58px; background: var(--accent); border-radius: 50%;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(232,80,58,0.35); transition: var(--transition);
}
.chatbot-trigger:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(232,80,58,0.45); }
.chatbot-trigger svg { width: 24px; height: 24px; fill: var(--white); }
.chatbot-tooltip {
  position: fixed; bottom: 96px; right: 28px; z-index: 9998;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px 12px 4px 12px;
  padding: 12px 18px; box-shadow: var(--shadow-lg); font-size: 0.85rem; color: var(--text);
  max-width: 220px; display: none; animation: tooltipIn 0.3s ease;
}
.chatbot-tooltip strong { color: var(--accent); }
@keyframes tooltipIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chatbot-window {
  position: fixed; bottom: 28px; right: 28px; z-index: 10000; width: 380px; height: 520px;
  background: var(--white); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12); display: none; flex-direction: column; overflow: hidden;
}
.chatbot-window.open { display: flex; animation: chatOpen 0.3s ease; }
@keyframes chatOpen { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.chatbot-header { background: var(--accent); color: var(--white); padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
.chatbot-avatar { width: 34px; height: 34px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.chatbot-header-info h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 1px; }
.chatbot-header-info p { font-size: 0.7rem; color: rgba(255,255,255,0.7); }
.chatbot-close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1.2rem; cursor: pointer; }
.chatbot-close:hover { color: var(--white); }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 12px; font-size: 0.85rem; line-height: 1.55; }
.chat-msg.bot { background: var(--warm-gray); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--accent); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg .msg-name { font-size: 0.675rem; font-weight: 700; margin-bottom: 3px; }
.chat-msg.bot .msg-name { color: var(--accent); }
.chat-msg.user .msg-name { color: rgba(255,255,255,0.7); }
.chatbot-input-area { padding: 12px; border-top: 1px solid var(--border-light); display: flex; gap: 8px; }
.chatbot-input { flex: 1; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.85rem; outline: none; }
.chatbot-input:focus { border-color: var(--accent); }
.chatbot-send { width: 38px; height: 38px; background: var(--accent); border: none; border-radius: var(--radius-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chatbot-send svg { width: 16px; height: 16px; fill: var(--white); }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .features-row { flex-direction: column; gap: 32px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98); flex-direction: column; justify-content: center;
    align-items: center; gap: 20px; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; z-index: 1001; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .services-grid, .trust-grid, .industries-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .chatbot-window { width: calc(100vw - 24px); right: 12px; bottom: 12px; height: 70vh; }
}
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
