:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #0f172a;
  --bg-light: #f8fafc;
  --text-main: #334155;
  --text-muted: #64748b;
  --white: #ffffff;
  --radius: 8px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: 'Inter', sans-serif; scroll-behavior: smooth; color: var(--text-main); line-height: 1.6; }
body { background-color: var(--white); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
a { text-decoration: none; color: var(--primary-color); transition: var(--transition); }
a:hover { color: var(--primary-hover); }

h1, h2, h3, h4 { color: var(--secondary-color); font-weight: 700; line-height: 1.2; }
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-dark { color: var(--secondary-color); }
.section { padding: 5rem 0; }
.bg-light { background-color: var(--bg-light); }
.section-header { margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-header p { color: var(--text-muted); font-size: 1.125rem; }

.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 600; text-align: center; cursor: pointer; transition: var(--transition); border: none; }
.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-hover); color: var(--white); box-shadow: var(--shadow-md); }
.btn-outline { border: 2px solid var(--primary-color); color: var(--primary-color); background: transparent; }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white); }
.btn-large { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-large-outline { border: 2px solid var(--white); color: var(--white); }
.btn-large-outline:hover { background-color: var(--white); color: var(--secondary-color); }
.btn-full { width: 100%; }

.navbar { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; padding: 1rem 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) { color: var(--text-main); font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--primary-color); }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.mobile-menu-btn span { width: 25px; height: 3px; background-color: var(--secondary-color); border-radius: 2px; }

.hero { background: linear-gradient(135deg, var(--secondary-color) 0%, #1e293b 100%); color: var(--white); padding: 4rem 0 8rem; position: relative; }
.hero-container { display: flex; align-items: center; gap: 3rem; position: relative; z-index: 2; }
.hero-wave-bottom { position: absolute; bottom: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); z-index: 1; pointer-events: none; }
.hero-wave-bottom svg { position: relative; display: block; width: 150%; left: -25%; height: 120px; }
.hero-wave-bottom path:nth-child(1) { animation: wave-sway-1 5.4s ease-in-out infinite alternate; }
.hero-wave-bottom path:nth-child(2) { animation: wave-sway-2 6.9s ease-in-out infinite alternate; }
.hero-wave-bottom path:nth-child(3) { animation: wave-sway-3 8.5s ease-in-out infinite alternate; }
.shape-fill { fill: #f1f5f9; }

@keyframes wave-sway-1 { 0% { transform: translateX(0); } 100% { transform: translateX(3%); } }
@keyframes wave-sway-2 { 0% { transform: translateX(-3%); } 100% { transform: translateX(3%); } }
@keyframes wave-sway-3 { 0% { transform: translateX(3%); } 100% { transform: translateX(-2%); } }
.hero-content { flex: 1; }
.badge { display: inline-block; background-color: rgba(59, 130, 246, 0.2); color: #60a5fa; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.hero h1 { color: var(--white); }
.hero-subtext { font-size: 1.125rem; color: #cbd5e1; margin-bottom: 1.5rem; max-width: 500px; }
.hero-inline-image { width: 100%; max-width: 550px; border-radius: var(--radius); margin-bottom: 1.5rem; box-shadow: var(--shadow-lg); height: auto; display: block; }
.hero-bullets { list-style: none; margin-bottom: 2rem; }
.hero-bullets li { margin-bottom: 0.5rem; font-weight: 500; color: #f1f5f9; }
.trust-line { margin-top: 1rem; font-size: 0.875rem; color: #94a3b8; }

.hero-form-card { background: var(--white); border-radius: var(--radius); padding: 2rem; width: 100%; max-width: 450px; box-shadow: var(--shadow-lg); color: var(--text-main); }
.hero-form-card h2 { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--secondary-color); }
.form-group { margin-bottom: 1rem; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--secondary-color); }
input, select { width: 100%; padding: 0.75rem; border: 1px solid #e2e8f0; border-radius: var(--radius); font-family: inherit; font-size: 1rem; transition: var(--transition); }
input:focus, select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.form-note { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 1rem; }
.success-msg { padding: 1rem; background-color: #dcfce7; color: #166534; border-radius: var(--radius); text-align: center; font-weight: 500; }
.hidden { display: none; }

.trust-bar { background: #f1f5f9; padding: 2rem 0; border-bottom: 1px solid #e2e8f0; }
.trust-container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 700; color: var(--primary-color); }
.stat-label { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.industry-card { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid transparent; }
.industry-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #e2e8f0; }
.industry-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.product-item { padding: 1.5rem; background: var(--white); border: 1px solid #e2e8f0; border-radius: var(--radius); font-weight: 600; color: var(--secondary-color); display: flex; align-items: center; justify-content: center; transition: var(--transition); cursor: pointer; height: 100px; }
.product-item h4 { margin: 0; }
.product-item:hover { background-color: var(--primary-color); color: var(--white); border-color: var(--primary-color); }
.product-item:hover h4 { color: var(--white); }

.why-container { display: flex; align-items: center; gap: 4rem; }
.why-text { flex: 1; }
.why-image { flex: 1; }
.image-placeholder { width: 100%; height: 400px; background: #cbd5e1; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-weight: 600; box-shadow: var(--shadow-md); }
.feature-list { list-style: none; margin-top: 2rem; }
.feature-list li { position: relative; padding-left: 2rem; margin-bottom: 1.5rem; }
.feature-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--primary-color); font-weight: bold; font-size: 1.25rem; }
.feature-list strong { display: block; color: var(--secondary-color); margin-bottom: 0.25rem; }

.process-steps { display: flex; justify-content: space-between; align-items: flex-start; position: relative; margin-top: 2rem; }
.step { flex: 1; text-align: center; position: relative; z-index: 2; padding: 0 1rem; }
.step-number { width: 60px; height: 60px; background: var(--white); border: 2px solid var(--primary-color); color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 1rem; box-shadow: var(--shadow-sm); }
.step-line { height: 2px; background: #cbd5e1; flex: 1; margin-top: 30px; z-index: 1; }

.cta-section { background: var(--secondary-color); color: var(--white); padding: 5rem 0; }
.cta-section h2 { color: var(--white); }
.cta-section p { font-size: 1.125rem; margin-bottom: 2rem; color: #cbd5e1;}
.cta-actions { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1.5rem; }

.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 1rem; border: 1px solid #e2e8f0; border-radius: var(--radius); background: var(--white); overflow: hidden; }
.faq-question { width: 100%; padding: 1.25rem; text-align: left; border: none; background: transparent; font-size: 1.125rem; font-weight: 600; color: var(--secondary-color); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover { background: #f8fafc; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer p { padding: 0 1.25rem 1.25rem; color: var(--text-main); }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-item.active .icon { transform: rotate(45deg); }
.icon { transition: var(--transition); font-size: 1.5rem; line-height: 1; }

.footer { background: #0b1120; color: #94a3b8; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer h3, .footer h4 { color: var(--white); }
.footer-col ul { list-style: none; }
.footer-col a { color: #94a3b8; display: inline-block; margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--white); }
.contact-info li { margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #1e293b; font-size: 0.875rem; }

/* Testimonials Section */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.review-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: var(--transition); }
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.reviewer-info { display: flex; gap: 1rem; align-items: center; }
.reviewer-avatar { width: 40px; height: 40px; border-radius: 50%; background-color: var(--primary-color); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.1rem; }
.reviewer-info h4 { margin: 0; font-size: 1rem; color: var(--secondary-color); }
.review-stars { font-size: 0.9rem; letter-spacing: 1px; margin-top: 0.2rem; }
.review-text { font-size: 0.95rem; color: var(--text-main); line-height: 1.6; }

/* Floating Contact Widget */
.floating-contact { position: fixed; top: 50%; left: 0; transform: translateY(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 0.5rem; }
.floating-contact .floating-btn { background-color: rgba(255, 255, 255, 0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); color: var(--secondary-color); padding: 0.75rem; border-radius: 0 8px 8px 0; border: 1px solid rgba(0,0,0,0.1); border-left: none; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; text-decoration: none; transition: var(--transition); box-shadow: var(--shadow-md); width: 50px; height: 50px; }
.floating-contact .floating-btn:hover { background-color: var(--white); width: 60px; box-shadow: var(--shadow-lg); }

/* Modal Styles */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.7); z-index: 2000; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(3px); opacity: 1; transition: opacity 0.3s ease; }
.modal.hidden { opacity: 0; pointer-events: none; }
.modal-content { background: var(--white); padding: 2.5rem; border-radius: var(--radius); width: 90%; max-width: 500px; position: relative; box-shadow: var(--shadow-lg); transform: translateY(0); transition: transform 0.3s ease; }
.modal.hidden .modal-content { transform: translateY(20px); }
.close-modal { position: absolute; top: 1rem; right: 1.5rem; font-size: 2rem; color: var(--text-muted); cursor: pointer; transition: var(--transition); line-height: 1; }
.close-modal:hover { color: var(--secondary-color); }

@media (max-width: 992px) {
  .hero-container, .why-container { flex-direction: column; }
  .hero-content { text-align: center; }
  .hero-subtext { margin: 0 auto 1.5rem; }
  .hero-bullets { display: inline-block; text-align: left; }
  .process-steps { flex-direction: column; gap: 2rem; }
  .step-line { display: none; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 1rem; box-shadow: var(--shadow-md); }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: flex; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  .form-row { flex-direction: column; gap: 0; }
  .cta-actions { flex-direction: column; }
  .industry-grid { grid-template-columns: 1fr; }
}
