"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import FooterSimple from '@/components/sections/footer/FooterSimple';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeMediumTitles"
      background="circleGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="flat"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay 
          brandName="SmartYourMoney"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Pricing", id: "/pricing" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Get Started",
            href: "https://app.smartyourmoney.com"
          }}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get In Touch"
          title="Ready to Transform Your Investment Strategy?"
          description="Join thousands of investors who are already growing their wealth with SmartYourMoney. Our team is here to answer your questions and help you get started."
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/happy-insurance-agent-talking-with-mature-couple-about-their-retirement-plans-meeting-office_637285-1798.jpg"
          imageAlt="Financial advisor consultation"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Get Started"
          termsText="We'll send you investment insights, market updates, and platform news. Unsubscribe anytime. Privacy policy applies."
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Find answers to common questions about investing with SmartYourMoney."
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          imageSrc="https://img.b2bpic.net/free-photo/people-working-call-center_23-2149288192.jpg"
          imageAlt="Customer support representative"
          mediaPosition="left"
          faqs={[
            {
              id: "1",
              title: "How do I get started with SmartYourMoney?",
              content: "Getting started is easy! Create an account on our platform, complete your investor profile, fund your account, and let our AI recommend a portfolio strategy tailored to your goals and risk tolerance. You can start with as little as $100."
            },
            {
              id: "2",
              title: "What fees does SmartYourMoney charge?",
              content: "Our Starter plan is completely free. Professional plans cost $99/month with no additional trading fees. Elite plans are custom-priced based on AUM with no monthly fee. We believe in complete transparency - all fees are clearly displayed before you commit."
            },
            {
              id: "3",
              title: "Is my money safe with SmartYourMoney?",
              content: "Yes. We partner with regulated financial institutions and your investments are held in your own brokerage account. We have no access to withdraw funds. All accounts are protected by FDIC insurance up to $250,000 per institution."
            },
            {
              id: "4",
              title: "Can I withdraw my money anytime?",
              content: "Absolutely. You can withdraw your funds at any time without penalties. Most withdrawals are processed within 1-3 business days depending on your bank."
            },
            {
              id: "5",
              title: "What returns can I expect?",
              content: "Average returns depend on your portfolio allocation and market conditions. Our clients have seen average annual returns of 12.5%, outperforming S&P 500 benchmarks. Past performance doesn't guarantee future results."
            },
            {
              id: "6",
              title: "Do I need investment experience to use the platform?",
              content: "No experience necessary! Our platform is designed for investors of all levels. We provide educational resources, expert guidance, and AI-powered recommendations to help you make informed decisions."
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardFourteen
          title="Our support team is here to help you succeed. We're committed to providing exceptional service and expert guidance every step of the way."
          tag="Support"
          metrics={[
            {
              id: "1",
              value: "< 2min",
              description: "Average response time for customer inquiries during business hours"
            },
            {
              id: "2",
              value: "98%",
              description: "Customer satisfaction rating for our support and advisory services"
            },
            {
              id: "3",
              value: "24/7",
              description: "Platform availability with dedicated support for Elite plan members"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <FooterSimple
        columns={[
          {
            title: "Platform",
            items: [
              { label: "Dashboard", href: "https://app.smartyourmoney.com" },
              { label: "Pricing", href: "/pricing" },
              { label: "Features", href: "/services" },
              { label: "Mobile App", href: "https://app.smartyourmoney.com/mobile" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Blog", href: "https://blog.smartyourmoney.com" },
              { label: "Careers", href: "https://careers.smartyourmoney.com" },
              { label: "Contact", href: "/contact" }
            ]
          },
          {
            title: "Resources",
            items: [
              { label: "Learning Center", href: "https://learn.smartyourmoney.com" },
              { label: "Market Research", href: "https://research.smartyourmoney.com" },
              { label: "FAQ", href: "/faq" },
              { label: "Support", href: "https://support.smartyourmoney.com" }
            ]
          },
          {
            title: "Legal",
            items: [
              { label: "Privacy Policy", href: "https://smartyourmoney.com/privacy" },
              { label: "Terms of Service", href: "https://smartyourmoney.com/terms" },
              { label: "Disclaimer", href: "https://smartyourmoney.com/disclaimer" },
              { label: "Compliance", href: "https://smartyourmoney.com/compliance" }
            ]
          }
        ]}
        bottomLeftText="© 2025 SmartYourMoney. All rights reserved."
        bottomRightText="Invest Smarter, Grow Faster"
      />
    </ThemeProvider>
  );
}