import type { Section } from "@/types/builder";
import { generateId } from "@/store/builder-store";

export const financeHero: Section = {
  id: `section-${generateId("section")}`,
  type: "regular",
  rows: [
    {
      id: `row-${generateId("row")}`,
      columns: [
        {
          id: `column-${generateId("column")}`,
          width: 100,
          elements: [
            {
              id: `element-${generateId("element")}-1`,
              type: "heading",
              content: "Secure Your Crypto Future",
              settings: {
                fontSize: 72,
                fontWeight: "900",
                textAlign: "center",
                paddingTop: 0,
                paddingRight: 0,
                paddingBottom: 0,
                paddingLeft: 0,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 32,
                marginLeft: 0,
                color: { light: "#1e293b", dark: "white" },
                lineHeight: 1.05,
                letterSpacing: "-0.03em",
                // Advanced animations
                enableAnimation: true,
                animationType: "slideUp",
                animationDuration: 1.2,
                animationDelay: 0.2,
                animationEasing: "cubic-bezier(0.175, 0.885, 0.32, 1.275)",
                animationFillMode: "forwards",
              },
            },
            {
              id: `element-${generateId("element")}-2`,
              type: "text",
              content:
                "Trade with confidence on our institutional-grade platform. 99.9% uptime, bank-level security, and advanced risk management tools protect your investments.",
              settings: {
                fontSize: 24,
                fontWeight: "400",
                textAlign: "center",
                paddingTop: 0,
                paddingRight: 24,
                paddingBottom: 0,
                paddingLeft: 24,
                marginTop: 0,
                marginRight: "auto",
                marginBottom: 48,
                marginLeft: "auto",
                color: { light: "#64748b", dark: "#cbd5e1" },
                lineHeight: 1.6,
                maxWidth: "800px",
                // Advanced animations
                enableAnimation: true,
                animationType: "fadeIn",
                animationDuration: 1,
                animationDelay: 0.6,
                animationEasing: "ease-out",
                animationFillMode: "forwards",
              },
            },
            {
              id: `element-${generateId("element")}-3`,
              type: "button",
              content: "Start Secure Trading",
              settings: {
                backgroundColor: "#1e293b",
                hoverBackgroundColor: "#334155",
                color: "#ffffff",
                hoverColor: "#ffffff",
                fontSize: 20,
                fontWeight: "700",
                textAlign: "center",
                paddingTop: 20,
                paddingRight: 48,
                paddingBottom: 20,
                paddingLeft: 48,
                marginTop: 0,
                marginRight: 12,
                marginBottom: 20,
                marginLeft: 0,
                borderRadius: 12,
                boxShadow: "0 16px 64px rgba(30, 41, 59, 0.3)",
                minWidth: "240px",
                // Advanced animations
                enableAnimation: true,
                animationType: "zoomIn",
                animationDuration: 0.8,
                animationDelay: 1,
                animationEasing: "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
                animationFillMode: "forwards",
                // Hover effects
                transitionProperty: "all",
                transitionDuration: 0.3,
                transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
                hoverEffect: "elevate",
                hoverEffectIntensity: 2,
              },
            },
            {
              id: `element-${generateId("element")}-4`,
              type: "button",
              content: "View Security Features",
              settings: {
                backgroundColor: "transparent",
                borderColor: { light: "#cbd5e1", dark: "#475569" },
                borderWidth: 2,
                borderStyle: "solid",
                hoverBackgroundColor: { light: "#f1f5f9", dark: "#334155" },
                hoverBorderColor: { light: "#94a3b8", dark: "#64748b" },
                color: { light: "#475569", dark: "#cbd5e1" },
                hoverColor: { light: "#1e293b", dark: "#ffffff" },
                fontSize: 18,
                fontWeight: "600",
                textAlign: "center",
                paddingTop: 20,
                paddingRight: 40,
                paddingBottom: 20,
                paddingLeft: 40,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 20,
                marginLeft: 12,
                borderRadius: 12,
                minWidth: "220px",
                // Advanced animations
                enableAnimation: true,
                animationType: "slideLeft",
                animationDuration: 0.8,
                animationDelay: 1.2,
                animationEasing: "cubic-bezier(0.175, 0.885, 0.32, 1.275)",
                animationFillMode: "forwards",
                // Hover effects
                transitionProperty: "all",
                transitionDuration: 0.3,
                transitionTimingFunction: "ease-out",
                hoverEffect: "glow",
                hoverEffectIntensity: 1.3,
              },
            },
            {
              id: `element-${generateId("element")}-5`,
              type: "text",
              content:
                "🔒 Bank-Level Security • 🏛️ Institutional Grade • 📊 Real-Time Analytics • 🌍 24/7 Global Support",
              settings: {
                fontSize: 17,
                fontWeight: "500",
                textAlign: "center",
                paddingTop: 48,
                paddingRight: 0,
                paddingBottom: 0,
                paddingLeft: 0,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 0,
                marginLeft: 0,
                color: { light: "#64748b", dark: "#94a3b8" },
                lineHeight: 1.6,
                borderTop: true,
                borderWidth: 1,
                borderStyle: "solid",
                borderColor: { light: "#e2e8f0", dark: "#475569" },
                // Advanced animations
                enableAnimation: true,
                animationType: "fadeIn",
                animationDuration: 1,
                animationDelay: 1.6,
                animationEasing: "ease-out",
                animationFillMode: "forwards",
              },
            },
            {
              id: `element-${generateId("element")}-6`,
              type: "text",
              content: "💎",
              settings: {
                fontSize: 56,
                textAlign: "center",
                paddingTop: 0,
                paddingRight: 0,
                paddingBottom: 0,
                paddingLeft: 0,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 0,
                marginLeft: 0,
                position: "absolute",
                top: "15%",
                right: "10%",
                // Floating animation
                enableAnimation: true,
                animationType: "pulse",
                animationDuration: 2.5,
                animationDelay: 2,
                animationIterationCount: "infinite",
                animationEasing: "ease-in-out",
              },
            },
            {
              id: `element-${generateId("element")}-7`,
              type: "text",
              content: "🔐",
              settings: {
                fontSize: 48,
                textAlign: "center",
                paddingTop: 0,
                paddingRight: 0,
                paddingBottom: 0,
                paddingLeft: 0,
                marginTop: 0,
                marginRight: 0,
                marginBottom: 0,
                marginLeft: 0,
                position: "absolute",
                top: "25%",
                left: "8%",
                // Floating animation
                enableAnimation: true,
                animationType: "swing",
                animationDuration: 3,
                animationDelay: 2.5,
                animationIterationCount: "infinite",
                animationEasing: "ease-in-out",
              },
            },
          ],
          settings: {
            paddingTop: 120,
            paddingRight: 32,
            paddingBottom: 120,
            paddingLeft: 32,
            textAlign: "center",
            position: "relative",
            minHeight: "100vh",
            display: "flex",
            flexDirection: "column",
            alignItems: "center",
            justifyContent: "center",
          },
          nestingLevel: 1,
        },
      ],
      settings: {
        maxWidth: "1400px",
        paddingTop: 0,
        paddingRight: 0,
        paddingBottom: 0,
        paddingLeft: 0,
        marginLeft: "auto",
        marginRight: "auto",
      },
      nestingLevel: 1,
    },
  ],
  settings: {
    background: "linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%)",
    paddingTop: 0,
    paddingRight: 0,
    paddingBottom: 0,
    paddingLeft: 0,
    marginTop: 0,
    marginRight: 0,
    marginBottom: 0,
    marginLeft: 0,
    minHeight: "100vh",
    display: "flex",
    alignItems: "center",
    justifyContent: "center",
    position: "relative",
    overflow: "hidden",
  },
  name: "Finance Hero",
  description:
    "Professional financial services hero section with enhanced security focus, impressive animations, and trust indicators",
  category: "hero",
  snapshots: {
    card: "",
    preview: "",
  },
};
