import { ServiceHeroImage } from '@/components/ui/service-hero-image'
import { Header } from '@/components/layout/header'
import { Footer } from '@/components/layout/footer'
import { ScrollReveal } from '@/components/ui/scroll-reveal'
import Link from 'next/link'
import {
  Database,
  Search,
  ArrowRight,
  CheckCircle2,
  TrendingUp,
  Shield,
  Zap,
  Clock,
  BarChart3,
  RefreshCw,
  Lock,
  Server,
  AlertTriangle,
  FileText,
  GitBranch,
  Layers,
  Globe,
  Activity,
} from 'lucide-react'

export const metadata = {
  title: 'Database Administration Services - Drish Infra',
  description:
    'Expert DBA services for MySQL, PostgreSQL, Oracle, SQL Server, and MongoDB. Performance tuning, high availability, replication, and 24/7 database monitoring.',
}

/* ══════════════════════════════════════════════════ */
/*  PAGE  –  Database Administration                 */
/*  10 Unique Sections                               */
/* ══════════════════════════════════════════════════ */
export default function DatabaseAdministrationPage() {
  return (
    <main className="min-h-screen bg-[#f8fafc] text-slate-900">
      <Header />

      {/* ─── SECTION 1 · Hero — Centered with Query Visual ── */}
      <section className="relative overflow-hidden bg-gradient-to-br from-slate-950 via-blue-900 to-blue-950 text-white pt-14 pb-20 lg:pt-16 lg:pb-28">
        <div className="absolute inset-0 opacity-[0.03]" style={{ backgroundImage: 'linear-gradient(90deg, #60a5fa 1px, transparent 1px), linear-gradient(180deg, #60a5fa 1px, transparent 1px)', backgroundSize: '48px 48px' }} />
        <div className="relative max-w-7xl mx-auto px-6 lg:px-8">
          <div className="grid lg:grid-cols-2 gap-12 items-center">
            <div className="max-w-3xl mx-auto text-center lg:max-w-none">
            <div className="w-16 h-16 rounded-2xl bg-gradient-to-br from-blue-500 to-blue-600 flex items-center justify-center mx-auto mb-6 shadow-lg shadow-blue-500/30">
              <Database className="w-8 h-8 text-white" />
            </div>
            <h1 className="text-4xl lg:text-5xl xl:text-6xl font-extrabold leading-[1.1] mb-6">
              Database Administration <span className="bg-gradient-to-r from-blue-400 to-blue-500 bg-clip-text text-transparent">Done Right</span>
            </h1>
            <p className="text-lg text-slate-300 leading-relaxed mb-8 max-w-2xl mx-auto">
              Your data is your most valuable asset. Our certified DBAs ensure it's fast, available, secure, and backed up — whether you run a single MySQL instance or a thousand-node distributed cluster.
            </p>
            <div className="flex flex-wrap justify-center gap-4 mb-10">
              <Link href="/contact" className="inline-flex items-center gap-2 bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-400 hover:to-blue-500 text-white font-bold text-sm px-6 py-3 rounded-xl shadow-lg shadow-blue-500/25 hover:shadow-blue-400/40 transition-all duration-300 hover:scale-105">
                Free DB Health Check <ArrowRight className="w-4 h-4" />
              </Link>
              <Link href="#platforms" className="inline-flex items-center gap-2 border border-white/20 hover:border-blue-400/40 text-white/80 hover:text-white font-semibold text-sm px-6 py-3 rounded-xl transition-all duration-300">
                View Platforms
              </Link>
            </div>
            {/* DB query terminal mock */}
            <div className="bg-black/40 backdrop-blur-sm border border-white/10 rounded-2xl p-5 text-left max-w-2xl mx-auto font-mono text-sm">
              <div className="flex items-center gap-2 mb-3">
                <div className="w-3 h-3 rounded-full bg-blue-500" />
                <div className="w-3 h-3 rounded-full bg-blue-500" />
                <div className="w-3 h-3 rounded-full bg-blue-500" />
                <span className="text-xs text-slate-500 ml-2">db-console</span>
              </div>
              <p className="text-blue-300">{"drish_db> "}<span className="text-white">{"SELECT uptime, queries_sec, connections FROM cluster_health;"}</span></p>
              <p className="text-slate-400 mt-2">┌──────────┬──────────────┬─────────────┐</p>
              <p className="text-slate-400">│ uptime   │ queries_sec  │ connections │</p>
              <p className="text-slate-400">├──────────┼──────────────┼─────────────┤</p>
              <p className="text-blue-400">│ 99.99%   │ 48,200       │ 2,400       │</p>
              <p className="text-slate-400">└──────────┴──────────────┴─────────────┘</p>
              <p className="text-blue-300 mt-1">{"drish_db> "}<span className="animate-pulse">▌</span></p>
            </div>
            </div>
            <div className="block order-first lg:order-last">
              <ServiceHeroImage label="Database Administration" stats={[{ value: '500+', label: 'DBs Managed' }, { value: '99.99%', label: 'Uptime' }, { value: 'MySQL', label: 'Postgres MongoDB' }]}>
              <div className="w-16 h-16 rounded-2xl bg-gradient-to-br from-blue-500 to-blue-600 flex items-center justify-center shadow-lg shadow-blue-500/20">
                <Database className="w-8 h-8 text-white" />
              </div>
            </ServiceHeroImage>
            </div>
          </div>
        </div>
      </section>

      {/* ─── SECTION 2 · Database Platforms ────────── */}
      <ScrollReveal>
      <section id="platforms" className="py-12 lg:py-16">
        <div className="max-w-7xl mx-auto px-6 lg:px-8">
          <div className="text-center mb-12">
            <p className="text-xs font-bold text-blue-600 uppercase tracking-wider mb-3">Database Platforms</p>
            <h2 className="text-3xl lg:text-4xl font-extrabold mb-4">We Manage Every Major Database Engine</h2>
            <p className="text-slate-500 max-w-2xl mx-auto">From relational to NoSQL, from on-prem to cloud-managed — our DBAs hold deep expertise across the full spectrum.</p>
          </div>
          <div className="grid sm:grid-cols-2 lg:grid-cols-4 gap-6">
            {[
              { name: 'MySQL', type: 'Relational', desc: 'Most popular open-source RDBMS for web applications.', color: 'from-blue-500 to-blue-600' },
              { name: 'PostgreSQL', type: 'Relational', desc: 'Advanced open-source RDBMS with JSON and extensibility.', color: 'from-blue-500 to-blue-600' },
              { name: 'Oracle', type: 'Relational', desc: 'Enterprise-grade RDBMS for mission-critical workloads.', color: 'from-blue-500 to-blue-600' },
              { name: 'SQL Server', type: 'Relational', desc: 'Microsoft enterprise RDBMS with BI and analytics.', color: 'from-blue-500 to-blue-600' },
              { name: 'MongoDB', type: 'Document', desc: 'Leading NoSQL document database for flexible schemas.', color: 'from-blue-500 to-blue-600' },
              { name: 'Redis', type: 'Key-Value', desc: 'In-memory data store for caching and real-time apps.', color: 'from-blue-500 to-blue-600' },
              { name: 'Cassandra', type: 'Wide-Column', desc: 'Distributed database for massive scale writes.', color: 'from-blue-500 to-blue-600' },
              { name: 'Elasticsearch', type: 'Search/Analytics', desc: 'Distributed search and analytics engine.', color: 'from-blue-500 to-lime-600' },
            ].map((db, i) => (
              <div key={i} className="group bg-white rounded-2xl border border-slate-200 p-6 hover:shadow-xl hover:-translate-y-1 transition-all duration-300">
                <div className={`w-12 h-12 rounded-xl bg-gradient-to-br ${db.color} flex items-center justify-center mb-4 shadow-lg group-hover:scale-110 transition-transform duration-300`}>
                  <Database className="w-6 h-6 text-white" />
                </div>
                <p className="text-[10px] font-bold text-blue-500 uppercase tracking-wider mb-1">{db.type}</p>
                <h3 className="font-bold text-lg mb-2">{db.name}</h3>
                <p className="text-sm text-slate-500">{db.desc}</p>
              </div>
            ))}
          </div>
        </div>
      </section>
      </ScrollReveal>

      {/* ─── SECTION 3 · DBA Services Grid ────────── */}
      <ScrollReveal delay={100}>
      <section className="py-12 lg:py-16 bg-gradient-to-b from-white to-slate-50">
        <div className="max-w-7xl mx-auto px-6 lg:px-8">
          <div className="text-center mb-12">
            <p className="text-xs font-bold text-blue-600 uppercase tracking-wider mb-3">DBA Services</p>
            <h2 className="text-3xl lg:text-4xl font-extrabold mb-4">What Our DBAs Do</h2>
          </div>
          <div className="grid sm:grid-cols-2 lg:grid-cols-3 gap-6">
            {[
              { title: 'Performance Tuning', desc: 'Query optimization, index strategy, execution plan analysis, and schema design review.', icon: Zap },
              { title: 'High Availability', desc: 'Replication setup, failover clustering, and always-on configurations for zero-downtime.', icon: Shield },
              { title: 'Backup & Recovery', desc: 'Automated backups, point-in-time recovery, and tested disaster recovery procedures.', icon: RefreshCw },
              { title: 'Security Hardening', desc: 'Encryption at rest/in transit, access control, audit logging, and vulnerability patching.', icon: Lock },
              { title: 'Migration & Upgrade', desc: 'Zero-downtime version upgrades and cross-platform migrations with rollback safety.', icon: GitBranch },
              { title: 'Monitoring & Alerting', desc: 'Real-time dashboards, anomaly detection, and proactive alerting on all critical metrics.', icon: Activity },
            ].map((s, i) => {
              const Icon = s.icon
              return (
                <div key={i} className="bg-white rounded-2xl border border-slate-200 p-6 hover:shadow-lg transition-all duration-300">
                  <div className="w-11 h-11 rounded-xl bg-blue-50 flex items-center justify-center mb-4">
                    <Icon className="w-5 h-5 text-blue-600" />
                  </div>
                  <h3 className="font-bold mb-2">{s.title}</h3>
                  <p className="text-sm text-slate-500 leading-relaxed">{s.desc}</p>
                </div>
              )
            })}
          </div>
        </div>
      </section>
      </ScrollReveal>

      {/* ─── SECTION 4 · Performance Before/After ──── */}
      <ScrollReveal>
      <section className="py-12 lg:py-16">
        <div className="max-w-7xl mx-auto px-6 lg:px-8">
          <div className="text-center mb-12">
            <p className="text-xs font-bold text-blue-600 uppercase tracking-wider mb-3">Performance Impact</p>
            <h2 className="text-3xl lg:text-4xl font-extrabold mb-4">Before & After Our DBA Team</h2>
          </div>
          <div className="grid sm:grid-cols-2 lg:grid-cols-4 gap-6">
            {[
              { metric: 'Query Response', before: '2,400ms', after: '45ms', improvement: '98% faster', icon: Zap },
              { metric: 'Uptime', before: '99.5%', after: '99.99%', improvement: '5 nines', icon: Shield },
              { metric: 'Storage Efficiency', before: '2.1 TB', after: '800 GB', improvement: '62% reduction', icon: Layers },
              { metric: 'Connection Pool', before: '200', after: '5,000', improvement: '25× capacity', icon: Activity },
            ].map((m, i) => (
              <div key={i} className="bg-white rounded-2xl border border-slate-200 p-6 hover:shadow-lg transition-all duration-300">
                <div className="w-10 h-10 rounded-xl bg-blue-50 flex items-center justify-center mb-4">
                  <m.icon className="w-5 h-5 text-blue-600" />
                </div>
                <p className="text-xs font-bold text-blue-500 uppercase tracking-wider mb-2">{m.metric}</p>
                <div className="flex items-center gap-3 mb-3">
                  <div className="text-center">
                    <p className="text-xs text-blue-400">Before</p>
                    <p className="text-lg font-bold text-blue-500">{m.before}</p>
                  </div>
                  <ArrowRight className="w-4 h-4 text-blue-400" />
                  <div className="text-center">
                    <p className="text-xs text-blue-400">After</p>
                    <p className="text-lg font-bold text-blue-500">{m.after}</p>
                  </div>
                </div>
                <p className="text-sm font-bold text-blue-600 text-center">{m.improvement}</p>
              </div>
            ))}
          </div>
        </div>
      </section>
      </ScrollReveal>

      {/* ─── SECTION 5 · Database Statistics ───────── */}
      <ScrollReveal>
      <section className="py-12 bg-gradient-to-r from-slate-950 via-blue-900 to-blue-950">
        <div className="max-w-7xl mx-auto px-6 lg:px-8">
          <div className="grid grid-cols-2 md:grid-cols-4 gap-8">
            {[
              { number: '2,500+', label: 'Databases Managed', sub: 'Across all platforms' },
              { number: '99.99%', label: 'Database Uptime', sub: 'SLA-backed guarantee' },
              { number: '<30 sec', label: 'Failover Time', sub: 'Automatic HA switchover' },
              { number: '24/7', label: 'DBA Support', sub: 'Follow-the-sun model' },
            ].map((m, i) => (
              <div key={i} className="text-center">
                <p className="text-3xl lg:text-4xl font-extrabold text-white mb-1">{m.number}</p>
                <p className="text-sm font-semibold text-blue-300">{m.label}</p>
                <p className="text-xs text-slate-400 mt-1">{m.sub}</p>
              </div>
            ))}
          </div>
        </div>
      </section>
      </ScrollReveal>

      {/* ─── SECTION 6 · DBA Engagement Models ─────── */}
      <ScrollReveal delay={100}>
      <section className="py-12 lg:py-16 bg-gradient-to-b from-white to-slate-50">
        <div className="max-w-7xl mx-auto px-6 lg:px-8">
          <div className="text-center mb-12">
            <p className="text-xs font-bold text-blue-600 uppercase tracking-wider mb-3">Engagement Models</p>
            <h2 className="text-3xl lg:text-4xl font-extrabold mb-4">Flexible DBA Support</h2>
          </div>
          <div className="grid md:grid-cols-3 gap-8">
            {[
              { model: 'Part-Time DBA', hours: '20 hrs/mo', desc: 'Periodic health checks, optimization reviews, and ad-hoc support for small databases.', features: ['Monthly health reports', 'Query optimization reviews', 'Backup verification', 'Email & ticket support'], popular: false },
              { model: 'Full-Time DBA', hours: '40 hrs/mo', desc: 'Dedicated DBA for ongoing management, performance tuning, and proactive maintenance.', features: ['All Part-Time features', 'Proactive monitoring', 'Patch management', 'Capacity planning', '4-hour response SLA'], popular: true },
              { model: 'Team Augmentation', hours: 'Dedicated team', desc: 'Embed our DBA team with yours — on-site or remote — for large-scale database operations.', features: ['All Full-Time features', 'Dedicated team lead', '24/7 on-call rotation', 'Architecture reviews', 'Board-level reporting'], popular: false },
            ].map((m, i) => (
              <div key={i} className={`relative rounded-2xl border-2 p-8 transition-all duration-300 hover:-translate-y-1 ${m.popular ? 'border-blue-500 bg-gradient-to-b from-blue-50/50 to-white shadow-xl shadow-blue-500/10' : 'border-slate-200 bg-white hover:shadow-xl'}`}>
                {m.popular && (
                  <div className="absolute -top-3.5 left-1/2 -translate-x-1/2 bg-gradient-to-r from-blue-500 to-blue-600 text-white text-[10px] font-bold uppercase tracking-wider px-4 py-1 rounded-full">Most Popular</div>
                )}
                <p className="text-xs font-bold text-blue-600 uppercase tracking-wider mb-2">{m.model}</p>
                <p className="text-2xl font-extrabold text-slate-900 mb-1">{m.hours}</p>
                <p className="text-sm text-slate-500 mb-6">{m.desc}</p>
                <ul className="space-y-3 mb-8">
                  {m.features.map((f, j) => (
                    <li key={j} className="flex items-start gap-2 text-sm text-slate-600">
                      <CheckCircle2 className="w-4 h-4 text-blue-500 mt-0.5 flex-shrink-0" />
                      {f}
                    </li>
                  ))}
                </ul>
                <Link href="/contact" className={`block text-center font-bold text-sm py-3 rounded-xl transition-all duration-300 ${m.popular ? 'bg-gradient-to-r from-blue-500 to-blue-600 text-white shadow-lg' : 'bg-slate-100 text-slate-700 hover:bg-slate-200'}`}>
                  Get Started
                </Link>
              </div>
            ))}
          </div>
        </div>
      </section>
      </ScrollReveal>

      {/* ─── SECTION 7 · Compliance & Security ─────── */}
      <ScrollReveal>
      <section className="py-12 lg:py-16">
        <div className="max-w-7xl mx-auto px-6 lg:px-8">
          <div className="grid lg:grid-cols-2 gap-12 items-center">
            <div className="relative">
              <div className="aspect-[4/3] rounded-3xl overflow-hidden bg-gradient-to-br from-blue-100 to-blue-50 border border-blue-100 mb-6">
                <img src="/placeholder.jpg" alt="Database Security" className="w-full h-full object-cover" />
              </div>
              <div className="absolute -bottom-4 -right-4 bg-white rounded-2xl border border-slate-200 shadow-xl p-4 max-w-[200px]">
                <div className="flex items-center gap-2 mb-2">
                  <div className="w-2 h-2 rounded-full bg-green-500 animate-pulse" />
                  <span className="text-xs font-bold text-green-600 uppercase">Secured</span>
                </div>
                <p className="text-xl font-extrabold text-slate-900">100%</p>
                <p className="text-xs text-slate-500">Encryption coverage</p>
              </div>
            </div>
            <div>
              <p className="text-xs font-bold text-blue-600 uppercase tracking-wider mb-3">Compliance & Security</p>
              <h2 className="text-3xl lg:text-4xl font-extrabold mb-6">Your Data, Protected at Every Layer</h2>
              <p className="text-slate-500 leading-relaxed mb-8">
                We implement defense-in-depth security for your databases — from encryption and access control to audit trails and compliance reporting.
              </p>
              <div className="grid grid-cols-2 gap-4">
                {[
                  'AES-256 Encryption at Rest',
                  'TLS 1.3 In Transit',
                  'Role-Based Access Control',
                  'Audit Logging & SIEM',
                  'Data Masking & Tokenization',
                  'GDPR / HIPAA / PCI-DSS',
                  'SOC 2 Type II Controls',
                  'Regular Penetration Testing',
                ].map((item, i) => (
                  <div key={i} className="flex items-center gap-2 text-sm text-slate-600">
                    <CheckCircle2 className="w-4 h-4 text-blue-500 flex-shrink-0" />
                    {item}
                  </div>
                ))}
              </div>
            </div>
            <div className="bg-gradient-to-br from-blue-50 to-blue-100/50 rounded-3xl border border-blue-100 p-8">
              <h3 className="font-bold text-lg mb-6">Database Security Scorecard</h3>
              {[
                { label: 'Encryption Coverage', pct: 100 },
                { label: 'Access Control Audit', pct: 98 },
                { label: 'Patch Currency', pct: 95 },
                { label: 'Backup Verification', pct: 99 },
                { label: 'Compliance Score', pct: 100 },
              ].map((bar, i) => (
                <div key={i} className="mb-4 last:mb-0">
                  <div className="flex justify-between text-sm mb-1.5">
                    <span className="font-medium text-slate-700">{bar.label}</span>
                    <span className="font-bold text-blue-600">{bar.pct}%</span>
                  </div>
                  <div className="h-2.5 bg-blue-100 rounded-full overflow-hidden">
                    <div className="h-full rounded-full bg-gradient-to-r from-blue-500 to-blue-600" style={{ width: `${bar.pct}%` }} />
                  </div>
                </div>
              ))}
            </div>
          </div>
        </div>
      </section>
      </ScrollReveal>

      {/* ─── SECTION 8 · Client Success Stories ───── */}
      <ScrollReveal delay={100}>
      <section className="py-12 lg:py-16 bg-gradient-to-b from-white to-slate-50">
        <div className="max-w-7xl mx-auto px-6 lg:px-8">
          <div className="text-center mb-12">
            <p className="text-xs font-bold text-blue-600 uppercase tracking-wider mb-3">Client Success</p>
            <h2 className="text-3xl lg:text-4xl font-extrabold mb-4">Database Wins</h2>
          </div>
          <div className="grid md:grid-cols-2 gap-8">
            {[
              { company: 'HealthRecords Inc.', db: 'PostgreSQL', challenge: 'Query latency spiking to 8 seconds during peak hours, causing application timeouts.', solution: 'Implemented connection pooling, query plan optimization, and read replicas. Added automated slow-query monitoring.', result: 'Query time reduced from 8s to 45ms', metric: '99.4% Improvement' },
              { company: 'EComPlatform', db: 'MySQL Cluster', challenge: 'Needed to handle 50K concurrent users during flash sales without downtime.', solution: 'Built MySQL InnoDB Cluster with Group Replication, proxied through ProxySQL, and implemented connection pooling.', result: 'Handled 80K concurrent users', metric: 'Zero Downtime' },
            ].map((story, i) => (
              <div key={i} className="bg-white rounded-2xl border border-slate-200 p-8 hover:shadow-xl transition-all duration-300">
                <div className="flex items-center justify-between mb-4">
                  <h3 className="font-bold text-lg">{story.company}</h3>
                  <span className="text-xs font-bold text-blue-600 bg-blue-50 px-3 py-1 rounded-full">{story.db}</span>
                </div>
                <div className="space-y-3 mb-6">
                  <div className="bg-blue-50 rounded-xl p-3">
                    <p className="text-xs font-bold text-blue-500 mb-1">Challenge</p>
                    <p className="text-sm text-slate-600">{story.challenge}</p>
                  </div>
                  <div className="bg-blue-50 rounded-xl p-3">
                    <p className="text-xs font-bold text-blue-500 mb-1">Solution</p>
                    <p className="text-sm text-slate-600">{story.solution}</p>
                  </div>
                </div>
                <div className="text-center pt-4 border-t border-slate-100">
                  <p className="text-lg font-extrabold text-blue-600">{story.result}</p>
                  <p className="text-xs text-slate-400">{story.metric}</p>
                </div>
              </div>
            ))}
          </div>
        </div>
      </section>
      </ScrollReveal>

      {/* ─── SECTION 9 · DBA Process ──────────────── */}
      <ScrollReveal>
      <section className="py-12 lg:py-16">
        <div className="max-w-7xl mx-auto px-6 lg:px-8">
          <div className="text-center mb-12">
            <p className="text-xs font-bold text-blue-600 uppercase tracking-wider mb-3">Our Approach</p>
            <h2 className="text-3xl lg:text-4xl font-extrabold mb-4">How We Engage</h2>
          </div>
          <div className="grid sm:grid-cols-2 lg:grid-cols-4 gap-8">
            {[
              { step: '1', title: 'Database Audit', desc: 'Deep analysis of schema design, query patterns, indexing, and configuration.', icon: Search },
              { step: '2', title: 'Optimization Plan', desc: 'Prioritized recommendations with expected impact and implementation timeline.', icon: FileText },
              { step: '3', title: 'Implement & Tune', desc: 'Execute improvements with zero-downtime techniques and rollback safety.', icon: Zap },
              { step: '4', title: 'Monitor & Evolve', desc: 'Continuous monitoring, quarterly reviews, and proactive capacity planning.', icon: Activity },
            ].map((s, i) => {
              const Icon = s.icon
              return (
                <div key={i} className="text-center relative">
                  <div className="w-16 h-16 rounded-2xl bg-gradient-to-br from-blue-500 to-blue-600 flex items-center justify-center mx-auto mb-4 shadow-lg shadow-blue-500/20">
                    <Icon className="w-7 h-7 text-white" />
                  </div>
                  <p className="text-xs font-bold text-blue-500 mb-2">Step {s.step}</p>
                  <h3 className="font-bold mb-2">{s.title}</h3>
                  <p className="text-sm text-slate-500">{s.desc}</p>
                </div>
              )
            })}
          </div>
        </div>
      </section>
      </ScrollReveal>

      {/* ─── SECTION 10 · CTA ─────────────────────── */}
      <ScrollReveal delay={100}>
      <section className="py-12 lg:py-16 bg-gradient-to-br from-slate-950 via-blue-900 to-blue-950">
        <div className="max-w-4xl mx-auto px-6 lg:px-8 text-center">
          <div className="inline-flex items-center gap-2 bg-blue-500/10 border border-blue-500/20 rounded-full px-4 py-1.5 mb-6">
            <Database className="w-3.5 h-3.5 text-blue-400" />
            <span className="text-xs font-semibold text-blue-300 uppercase tracking-wider">Expert DBAs Standing By</span>
          </div>
          <h2 className="text-3xl lg:text-5xl font-extrabold text-white mb-6">
            Your Databases Deserve Better
          </h2>
          <p className="text-lg text-slate-300 mb-10 max-w-2xl mx-auto">
            Get a free database health check — including performance score, security audit, and optimization roadmap.
          </p>
          <div className="flex flex-wrap justify-center gap-4">
            <Link href="/contact" className="inline-flex items-center gap-2 bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-400 hover:to-blue-500 text-white font-bold px-8 py-4 rounded-xl shadow-lg shadow-blue-500/25 hover:shadow-blue-400/40 transition-all duration-300 hover:scale-105">
              Free DB Health Check <ArrowRight className="w-4 h-4" />
            </Link>
            <Link href="/contact" className="inline-flex items-center gap-2 border border-white/20 hover:border-blue-400/40 text-white/80 hover:text-white font-semibold px-8 py-4 rounded-xl transition-all duration-300">
              Talk to a DBA
            </Link>
          </div>
          <p className="text-xs text-slate-400 mt-8">No commitment · Report delivered in 48h · NDA on request</p>
        </div>
      </section>
      </ScrollReveal>

      <Footer />
    </main>
  )
}
