/* --- Variables & Reset --- */
:root {
    --primary: #2563eb; /* Royal Blue */
    --accent: #f59e0b; /* Amber/Gold */
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-accent { color: var(--accent); }
.text-blue { color: var(--primary); }
.text-red { color: #ef4444; }
.text-green { color: #10b981; }
.text-purple { color: #8b5cf6; }
.text-orange { color: #f97316; }
.text-teal { color: #14b8a6; }

/* --- Background Mesh --- */
.bg-mesh { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; animation: float 20s infinite ease-in-out; }
.orb-1 { width: 400px; height: 400px; background: #bfdbfe; top: -100px; left: -100px; }
.orb-2 { width: 300px; height: 300px; background: #fef3c7; bottom: 10%; right: -50px; animation-delay: -5s; }
.orb-3 { width: 200px; height: 200px; background: #ddd6fe; top: 40%; left: 40%; animation-delay: -10s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* --- Glassmorphism Utilities --- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* --- Buttons --- */
.btn-primary, .btn-secondary, .btn-glow, .btn-small {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 50px; font-weight: 600; cursor: pointer;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }
.btn-secondary { background: white; color: var(--dark); border: 1px solid #cbd5e1; }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-glow { background: var(--accent); color: white; box-shadow: 0 0 15px rgba(245, 158, 11, 0.4); }
.btn-glow:hover { transform: scale(1.05); }
.btn-small { background: var(--dark); color: white; padding: 8px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; justify-content: center; }

/* --- Navigation --- */
.glass-nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 15px 0; transition: var(--transition);
}
.glass-nav.scrolled { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.mobile-toggle { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; }

/* --- Hero --- */
.hero { padding-top: 160px; padding-bottom: 80px; min-height: 90vh; display: flex; flex-direction: column; justify-content: center; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.badge-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(37, 99, 235, 0.1); color: var(--primary);
    padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

.hero h1 { font-size: 3.5rem; margin-bottom: 20px; letter-spacing: -1px; }
.hero-text { font-size: 1.1rem; color: #475569; margin-bottom: 30px; max-width: 90%; }
.hero-btns { display: flex; gap: 15px; margin-bottom: 40px; }
.trust-badges { display: flex; gap: 20px; }
.badge { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: #64748b; font-weight: 500; }
.badge i { color: var(--primary); }

/* Hero Visual */
.hero-visual { position: relative; height: 400px; }
.card-stack { position: relative; width: 100%; height: 100%; }
.float-card {
    position: absolute; padding: 20px; display: flex; align-items: center; gap: 15px;
    width: 260px; transition: var(--transition);
}
.float-card i { font-size: 2rem; }
.float-card h4 { font-size: 1.1rem; margin-bottom: 2px; }
.float-card p { font-size: 0.85rem; color: #64748b; }
.fc-1 { top: 20%; left: 0; animation: floatCard 6s infinite ease-in-out; }
.fc-2 { bottom: 20%; right: 0; animation: floatCard 6s infinite ease-in-out reverse; }
.abstract-shape {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 300px; height: 300px; background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; opacity: 0.1; z-index: -1;
}
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* Stats Strip */
.stats-strip {
    display: flex; justify-content: space-around; align-items: center;
    background: white; padding: 30px; border-radius: var(--radius);
    margin-top: 60px; box-shadow: var(--shadow);
}
.stat-item { text-align: center; }
.stat-item h3 { font-size: 2.5rem; color: var(--primary); margin-bottom: 5px; }
.stat-item p { color: #64748b; font-weight: 500; }
.stat-divider { width: 1px; height: 50px; background: #e2e8f0; }

/* --- Services --- */
.section-header { text-align: center; margin-bottom: 60px; }
.sub-title { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; display: block; margin-bottom: 10px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { padding: 30px; transition: var(--transition); position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.icon-box {
    width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white; margin-bottom: 20px;
}
.bg-blue { background: var(--primary); }
.bg-red { background: #ef4444; }
.bg-green { background: #10b981; }
.bg-purple { background: #8b5cf6; }
.bg-orange { background: #f97316; }
.bg-teal { background: #14b8a6; }

.service-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.service-card p { color: #64748b; margin-bottom: 20px; font-size: 0.95rem; }
.service-card ul li { font-size: 0.9rem; color: #475569; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.service-card ul li i { color: var(--primary); font-size: 0.8rem; }

/* --- Process Timeline --- */
.bg-darker { background: #f1f5f9; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: #cbd5e1; transform: translateX(-50%);
}
.timeline-item { display: flex; justify-content: flex-end; padding-right: 40px; position: relative; margin-bottom: 40px; width: 50%; }
.timeline-item:nth-child(even) { align-self: flex-end; justify-content: flex-start; padding-left: 40px; padding-right: 0; left: 50%; }
.t-marker {
    position: absolute; right: -20px; top: 0; width: 40px; height: 40px;
    background: var(--primary); color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: bold; z-index: 2;
}
.timeline-item:nth-child(even) .t-marker { left: -20px; right: auto; }
.t-content { padding: 20px; width: 100%; }
.t-content h4 { margin-bottom: 5px; color: var(--primary); }

/* --- Blog / Article --- */
.blog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.sidebar-card { padding: 25px; }
.sticky { position: sticky; top: 100px; }
.sidebar-card h4 { margin-bottom: 15px; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.sidebar-card ul li { margin-bottom: 10px; }
.sidebar-card ul li a { color: #64748b; font-size: 0.95rem; }
.sidebar-card ul li a:hover { color: var(--primary); padding-left: 5px; }
.sidebar-cta { margin-top: 25px; background: #eff6ff; padding: 15px; border-radius: 12px; text-align: center; }
.sidebar-cta p { font-size: 0.9rem; margin-bottom: 10px; font-weight: 600; }

.blog-content header { margin-bottom: 40px; border-bottom: 1px solid #e2e8f0; padding-bottom: 20px; }
.blog-content h1 { font-size: 2.5rem; margin-bottom: 15px; }
.meta { display: flex; gap: 20px; color: #64748b; font-size: 0.9rem; }
.content-body h2 { font-size: 1.8rem; margin: 40px 0 20px; color: var(--dark); }
.content-body h3 { font-size: 1.4rem; margin: 30px 0 15px; color: #334155; }
.content-body p { margin-bottom: 20px; color: #334155; font-size: 1.05rem; }
.content-body ul { margin-bottom: 20px; padding-left: 20px; list-style: disc; }
.lead { font-size: 1.2rem; font-weight: 500; color: var(--dark); border-left: 4px solid var(--accent); padding-left: 20px; margin-bottom: 30px; }

.info-box { display: flex; gap: 15px; padding: 20px; border-radius: 12px; margin: 30px 0; background: #fffbeb; border: 1px solid #fcd34d; }
.info-box i { font-size: 1.5rem; color: var(--accent); margin-top: 5px; }
.comparison-table { margin: 30px 0; overflow-x: auto; }
.comparison-table table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 15px; text-align: left; border-bottom: 1px solid #e2e8f0; }
.comparison-table th { background: rgba(37, 99, 235, 0.05); color: var(--primary); }
.check-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.check-list i { color: var(--primary); }
.stat-box-row { display: flex; gap: 20px; margin: 30px 0; flex-wrap: wrap; }
.mini-stat { flex: 1; background: white; padding: 20px; border-radius: 12px; text-align: center; box-shadow: var(--shadow); border: 1px solid #e2e8f0; }
.mini-stat h4 { color: var(--primary); font-size: 1.5rem; margin-bottom: 5px; }

/* --- Testimonials --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testi-card { padding: 30px; }
.stars { color: var(--accent); margin-bottom: 15px; }
.testi-card p { font-style: italic; color: #475569; margin-bottom: 20px; }
.client { display: flex; align-items: center; gap: 15px; }
.initials { width: 40px; height: 40px; background: var(--dark); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }

/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 15px; overflow: hidden; }
.faq-question {
    width: 100%; text-align: left; padding: 20px; background: none; border: none;
    font-weight: 600; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 20px; }
.faq-answer p { padding-bottom: 20px; color: #475569; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* --- Contact --- */
.bg-gradient { background: linear-gradient(to bottom, #f8fafc, #eff6ff); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { padding: 40px; }
.contact-info h2 { margin-bottom: 10px; }
.info-row { display: flex; align-items: center; gap: 15px; margin: 25px 0; }
.info-row i { width: 40px; height: 40px; background: rgba(37, 99, 235, 0.1); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.info-row h4 { font-size: 0.9rem; color: #64748b; margin-bottom: 2px; }
.contact-form { padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: inherit;
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); ring: 2px solid rgba(37, 99, 235, 0.2); }

/* --- Footer --- */
.site-footer { background: var(--dark); color: white; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col p { color: #94a3b8; margin-top: 15px; font-size: 0.9rem; }
.footer-col h4 { margin-bottom: 20px; color: white; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #94a3b8; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { text-align: center; border-top: 1px solid #1e293b; padding-top: 20px; color: #64748b; font-size: 0.85rem; }

/* --- Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; }
    .trust-badges { justify-content: center; }
    .hero-visual { display: none; }
    .blog-layout { grid-template-columns: 1fr; }
    .sidebar-card.sticky { position: static; margin-bottom: 30px; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 60px; padding-right: 0; justify-content: flex-start; }
    .timeline-item:nth-child(even) { left: 0; padding-left: 60px; }
    .t-marker { left: 0 !important; right: auto !important; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .stats-strip { flex-direction: column; gap: 20px; }
    .stat-divider { width: 50px; height: 1px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .logo { justify-content: center; }
}