/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #059669;
    --accent: #dc2626;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 700; font-size: 1.25rem; color: var(--primary); }
.logo-icon { font-size: 1.5rem; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav-link { text-decoration: none; color: var(--text); font-weight: 500; transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.2s; z-index: 10; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item { display: block; padding: 0.75rem 1rem; text-decoration: none; color: var(--text); transition: background 0.2s; }
.dropdown-item:hover { background: var(--bg-light); color: var(--primary); }
.header-btn { margin-left: 1rem; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; padding: 6rem 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.3; }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.2); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.875rem; margin-bottom: 1.5rem; }
.hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.2; }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 3rem; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.2); }
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 2.5rem; font-weight: 800; display: block; }
.hero-stat-label { font-size: 0.875rem; opacity: 0.8; }

/* Trust Bar */
.trust-bar { background: var(--bg-light); padding: 2rem 0; border-bottom: 1px solid var(--border); }
.trust-logos { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; opacity: 0.6; }
.trust-logo { font-weight: 700; font-size: 1rem; color: var(--text-light); }
.stats-row { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.875rem; color: var(--text-light); }

/* Section */
.section { padding: 5rem 0; }
.section-light { background: var(--bg-light); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-badge { display: inline-block; background: var(--primary); color: white; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.section-subtitle { font-size: 1.125rem; color: var(--text-light); }

/* Service Cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }
.service-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: all 0.3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-number { position: absolute; top: 1rem; right: 1rem; font-size: 3rem; font-weight: 800; opacity: 0.1; color: var(--primary); }
.service-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-description { color: var(--text-light); margin-bottom: 1.5rem; }
.service-stats { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.service-stat-value { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.service-stat-label { font-size: 0.75rem; color: var(--text-light); }
.service-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.service-link:hover { text-decoration: underline; }

/* Feature Cards */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: all 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; }
.feature-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-text { color: var(--text-light); }

/* Process Steps */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.process-step { text-align: center; }
.process-number { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; color: white; margin: 0 auto 1.5rem; }
.process-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-text { color: var(--text-light); font-size: 0.875rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; }
.faq-question { padding: 1.5rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--bg); transition: background 0.2s; }
.faq-question:hover { background: var(--bg-light); }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--primary); transition: transform 0.2s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: all 0.3s; }
.faq-item.active .faq-answer { padding: 0 1.5rem 1.5rem; max-height: 500px; }

/* Warning Items */
.warning-item { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: var(--bg-light); border-radius: var(--radius); }
.warning-number { width: 30px; height: 30px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; flex-shrink: 0; }

/* Case Study */
.case-study-grid { max-width: 800px; margin: 0 auto; display: grid; gap: 2rem; }
.case-card { background: var(--bg); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-badges { display: grid; gap: 1rem; }
.about-badge-item { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: var(--bg-light); border-radius: var(--radius); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.contact-info { padding: 1rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 2rem; }
.contact-info-icon { width: 50px; height: 50px; background: var(--bg-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.contact-info-title { font-weight: 600; margin-bottom: 0.25rem; }
.contact-info-text { color: var(--text-light); }

/* Form Controls */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-control { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; transition: border-color 0.2s; }
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: auto; }

/* Alert */
.alert { padding: 1rem 1.5rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }

/* CTA Section */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; padding: 5rem 0; }
.cta-section h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.cta-section p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; }

/* Footer */
.footer { background: var(--bg-dark); color: white; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-title { font-size: 1.25rem; margin-bottom: 1rem; }
.footer-heading { font-size: 1rem; margin-bottom: 1rem; color: white; }
.footer-text { color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-contact { list-style: none; }
.footer-contact li { margin-bottom: 0.75rem; color: rgba(255,255,255,0.7); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; color: rgba(255,255,255,0.5); }

/* Responsive */
@media (max-width: 968px) {
    .nav { display: none; }
    .nav.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 1rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .mobile-menu-btn { display: block; }
    .header-btn { display: none; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .contact-grid, .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 1.75rem; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 3rem 0; }
    .section { padding: 3rem 0; }
}
