/** Shopify CDN: Minification failed

Line 16:17 Expected ":"
Line 16:57 Unexpected "'react'"
Line 18:0 Comments in CSS use "/* ... */" instead of "//"
Line 20:7 Expected ":"
Line 31:7 Expected ":"
Line 33:2 Expected identifier but found "useEffect("
Line 38:8 Expected ":"
Line 41:0 Comments in CSS use "/* ... */" instead of "//"
Line 43:7 Expected ":"
Line 45:2 Expected identifier but found "useEffect("
... and 54 more hidden warnings

**/
import { useState, useEffect, useRef, useCallback } from 'react';

// ─── Countdown Hook ────────────────────────────────────────────────
function useCountdown(targetDate: Date) {
  const calculateTimeLeft = useCallback(() => {
    const diff = targetDate.getTime() - Date.now();
    if (diff <= 0) return { days: 0, hours: 0, minutes: 0, seconds: 0 };
    return {
      days: Math.floor(diff / (1000 * 60 * 60 * 24)),
      hours: Math.floor((diff / (1000 * 60 * 60)) % 24),
      minutes: Math.floor((diff / (1000 * 60)) % 60),
      seconds: Math.floor((diff / 1000) % 60),
    };
  }, [targetDate]);

  const [timeLeft, setTimeLeft] = useState(calculateTimeLeft);

  useEffect(() => {
    const timer = setInterval(() => setTimeLeft(calculateTimeLeft()), 1000);
    return () => clearInterval(timer);
  }, [calculateTimeLeft]);

  return timeLeft;
}

// ─── Scroll Reveal Hook ────────────────────────────────────────────
function useScrollReveal() {
  const ref = useRef<HTMLDivElement>(null);

  useEffect(() => {
    const observer = new IntersectionObserver(
      (entries) => {
        entries.forEach((entry) => {
          if (entry.isIntersecting) {
            entry.target.classList.add('visible');
          }
        });
      },
      { threshold: 0.1, rootMargin: '0px 0px -50px 0px' }
    );

    const el = ref.current;
    if (el) {
      const children = el.querySelectorAll('.reveal');
      children.forEach((child) => observer.observe(child));
      observer.observe(el);
    }

    return () => observer.disconnect();
  }, []);

  return ref;
}

// ─── Marquee Bar ───────────────────────────────────────────────────
function MarqueeBar() {
  const items = [
    'OPENING SOON',
    '✦',
    '3D REFLECTIVE EMBROIDERY',
    '✦',
    'THE ART OF ATTENTION',
    '✦',
    'SEEN BEFORE HEARD',
    '✦',
    '5 EXCLUSIVE COLORWAYS',
    '✦',
    'PREMIUM ACTIVEWEAR',
    '✦',
    'OPENING SOON',
    '✦',
    '3D REFLECTIVE EMBROIDERY',
    '✦',
    'THE ART OF ATTENTION',
    '✦',
    'SEEN BEFORE HEARD',
    '✦',
    '5 EXCLUSIVE COLORWAYS',
    '✦',
    'PREMIUM ACTIVEWEAR',
    '✦',
  ];

  const text = items.join('   ');

  return (
    <div
      className="overflow-hidden whitespace-nowrap"
      style={{
        backgroundColor: '#d4537e',
        padding: '10px 0',
      }}
    >
      <div className="animate-marquee inline-block">
        <span
          style={{
            color: '#ffffff',
            fontSize: '11px',
            letterSpacing: '0.2em',
            fontWeight: 500,
            fontFamily: 'var(--font-sans)',
          }}
        >
          {text}
        </span>
        <span
          style={{
            color: '#ffffff',
            fontSize: '11px',
            letterSpacing: '0.2em',
            fontWeight: 500,
            fontFamily: 'var(--font-sans)',
          }}
        >
          {'   ' + text}
        </span>
      </div>
    </div>
  );
}

// ─── Navigation ────────────────────────────────────────────────────
function Navigation() {
  return (
    <nav
      className="flex items-center justify-between"
      style={{
        backgroundColor: '#fffaf8',
        padding: '24px 40px',
        borderBottom: '1px solid #f0dde5',
      }}
    >
      <div style={{ width: '120px' }}>
        <span
          style={{
            fontSize: '12px',
            letterSpacing: '0.1em',
            color: '#9a7080',
            fontWeight: 500,
            cursor: 'pointer',
          }}
        >
          ABOUT
        </span>
      </div>

      <div className="text-center">
        <h1
          style={{
            fontSize: '15px',
            letterSpacing: '0.28em',
            fontWeight: 500,
            color: '#72243e',
            fontFamily: 'var(--font-sans)',
          }}
        >
          S I R E N
        </h1>
      </div>

      <div className="flex justify-end" style={{ width: '120px' }}>
        <span
          style={{
            fontSize: '12px',
            letterSpacing: '0.1em',
            color: '#9a7080',
            fontWeight: 500,
            cursor: 'pointer',
          }}
        >
          NOTIFY ME
        </span>
      </div>
    </nav>
  );
}

// ─── Countdown Digit ───────────────────────────────────────────────
function CountdownDigit({ value, label }: { value: number; label: string }) {
  return (
    <div className="flex flex-col items-center">
      <div
        className="flex items-center justify-center"
        style={{
          width: '80px',
          height: '90px',
          backgroundColor: '#fff5f0',
          border: '1px solid #f0dde5',
          borderRadius: '8px',
        }}
      >
        <span
          style={{
            fontFamily: 'var(--font-serif)',
            fontSize: '36px',
            fontWeight: 400,
            color: '#72243e',
            letterSpacing: '-0.02em',
          }}
        >
          {String(value).padStart(2, '0')}
        </span>
      </div>
      <span
        style={{
          fontSize: '10px',
          letterSpacing: '0.22em',
          color: '#9a7080',
          fontWeight: 500,
          marginTop: '10px',
        }}
      >
        {label}
      </span>
    </div>
  );
}

// ─── Hero Section ──────────────────────────────────────────────────
function HeroSection() {
  const launchDate = new Date();
  launchDate.setDate(launchDate.getDate() + 14);
  const timeLeft = useCountdown(launchDate);
  const [email, setEmail] = useState('');
  const [submitted, setSubmitted] = useState(false);

  const handleSubmit = (e: React.FormEvent) => {
    e.preventDefault();
    if (email) {
      setSubmitted(true);
      setEmail('');
      setTimeout(() => setSubmitted(false), 3000);
    }
  };

  return (
    <section
      className="relative overflow-hidden"
      style={{ backgroundColor: '#fffaf8' }}
    >
      {/* Decorative elements */}
      <div
        className="absolute top-0 right-0 rounded-full opacity-30"
        style={{
          width: '400px',
          height: '400px',
          background: 'radial-gradient(circle, #fde8ef 0%, transparent 70%)',
          transform: 'translate(30%, -30%)',
        }}
      />
      <div
        className="absolute bottom-0 left-0 rounded-full opacity-20"
        style={{
          width: '300px',
          height: '300px',
          background: 'radial-gradient(circle, #fbeaf0 0%, transparent 70%)',
          transform: 'translate(-30%, 30%)',
        }}
      />

      <div
        className="relative mx-auto flex flex-col items-center text-center"
        style={{ maxWidth: '720px', padding: '80px 24px 60px' }}
      >
        {/* Badge */}
        <div className="animate-fade-in-up">
          <span
            style={{
              display: 'inline-block',
              backgroundColor: '#fbeaf0',
              color: '#d4537e',
              fontSize: '11px',
              letterSpacing: '0.2em',
              fontWeight: 500,
              padding: '8px 24px',
              borderRadius: '50px',
              border: '1px solid #f0dde5',
            }}
          >
            ✦ COMING SOON ✦
          </span>
        </div>

        {/* Headline */}
        <h2
          className="animate-fade-in-up-delay-1"
          style={{
            fontFamily: 'var(--font-serif)',
            fontSize: 'clamp(32px, 5vw, 48px)',
            fontWeight: 500,
            letterSpacing: '-0.01em',
            color: '#72243e',
            marginTop: '32px',
            lineHeight: 1.15,
          }}
        >
          The Art of Attention.
          <br />
          <span style={{ fontStyle: 'italic', color: '#d4537e' }}>
            Seen Before Heard.
          </span>
        </h2>

        {/* Subtext */}
        <p
          className="animate-fade-in-up-delay-2"
          style={{
            fontSize: '13px',
            lineHeight: 1.85,
            color: '#9a7080',
            marginTop: '24px',
            maxWidth: '480px',
          }}
        >
          Premium activewear designed with 3D reflective embroidery.
          Every angle. Every detail. Five exclusive colorways dropping soon.
        </p>

        {/* Countdown */}
        <div
          className="flex items-center gap-4 animate-fade-in-up-delay-3"
          style={{ marginTop: '48px' }}
        >
          <CountdownDigit value={timeLeft.days} label="DAYS" />
          <span
            style={{
              fontFamily: 'var(--font-serif)',
              fontSize: '28px',
              color: '#e8ccd6',
              marginTop: '-20px',
            }}
          >
            :
          </span>
          <CountdownDigit value={timeLeft.hours} label="HOURS" />
          <span
            style={{
              fontFamily: 'var(--font-serif)',
              fontSize: '28px',
              color: '#e8ccd6',
              marginTop: '-20px',
            }}
          >
            :
          </span>
          <CountdownDigit value={timeLeft.minutes} label="MINS" />
          <span
            style={{
              fontFamily: 'var(--font-serif)',
              fontSize: '28px',
              color: '#e8ccd6',
              marginTop: '-20px',
            }}
          >
            :
          </span>
          <CountdownDigit value={timeLeft.seconds} label="SECS" />
        </div>

        {/* Email Form */}
        <form
          onSubmit={handleSubmit}
          className="flex w-full max-w-md animate-fade-in-up-delay-4"
          style={{ marginTop: '48px', gap: '0' }}
        >
          <input
            type="email"
            placeholder="Enter your email address"
            value={email}
            onChange={(e) => setEmail(e.target.value)}
            required
            style={{
              flex: 1,
              padding: '14px 20px',
              fontSize: '13px',
              color: '#1a1014',
              backgroundColor: '#fff5f0',
              border: '1px solid #e8ccd6',
              borderRight: 'none',
              borderRadius: '4px 0 0 4px',
              letterSpacing: '0.02em',
            }}
          />
          <button
            type="submit"
            style={{
              padding: '14px 28px',
              fontSize: '11px',
              letterSpacing: '0.2em',
              fontWeight: 500,
              color: '#ffffff',
              backgroundColor: '#d4537e',
              border: '1px solid #d4537e',
              borderRadius: '0 4px 4px 0',
              cursor: 'pointer',
              transition: 'background-color 0.3s ease',
              whiteSpace: 'nowrap',
            }}
            onMouseEnter={(e) =>
              (e.currentTarget.style.backgroundColor = '#72243e')
            }
            onMouseLeave={(e) =>
              (e.currentTarget.style.backgroundColor = '#d4537e')
            }
          >
            NOTIFY ME
          </button>
        </form>

        {submitted && (
          <p
            style={{
              fontSize: '12px',
              color: '#d4537e',
              marginTop: '12px',
              letterSpacing: '0.1em',
            }}
          >
            ✓ You're on the list! We'll be in touch.
          </p>
        )}

        <p
          style={{
            fontSize: '11px',
            color: '#9a7080',
            marginTop: '16px',
            letterSpacing: '0.04em',
          }}
        >
          Be the first to shop. No spam, just the drop.
        </p>
      </div>
    </section>
  );
}

// ─── Brand Logo Section ────────────────────────────────────────────
function BrandLogoSection() {
  const ref = useScrollReveal();
  return (
    <section
      ref={ref}
      style={{
        backgroundColor: '#fdf6f2',
        padding: '80px 24px',
      }}
    >
      <div className="reveal mx-auto" style={{ maxWidth: '800px' }}>
        <img
          src="/images/siren-logo.jpg"
          alt="SIREN — The Art of Attention"
          style={{
            width: '100%',
            borderRadius: '12px',
            boxShadow: '0 8px 40px rgba(114, 36, 62, 0.08)',
          }}
        />
      </div>
    </section>
  );
}

// ─── Editorial Hero Panel ──────────────────────────────────────────
function EditorialPanel() {
  const ref = useScrollReveal();
  return (
    <section
      ref={ref}
      style={{
        backgroundColor: '#fffaf8',
        padding: '0',
      }}
    >
      <div className="grid grid-cols-1 md:grid-cols-2" style={{ minHeight: '500px' }}>
        {/* Left Panel */}
        <div
          className="reveal flex flex-col items-center justify-center text-center"
          style={{
            backgroundColor: '#fde8ef',
            padding: '80px 48px',
          }}
        >
          <span
            style={{
              fontSize: '11px',
              letterSpacing: '0.22em',
              color: '#d4537e',
              fontWeight: 500,
              marginBottom: '24px',
            }}
          >
            INTRODUCING
          </span>
          <h3
            style={{
              fontFamily: 'var(--font-serif)',
              fontSize: 'clamp(28px, 4vw, 40px)',
              fontWeight: 500,
              color: '#72243e',
              letterSpacing: '-0.01em',
              lineHeight: 1.2,
            }}
          >
            Five Colorways.
            <br />
            <span style={{ fontStyle: 'italic' }}>One Statement.</span>
          </h3>
          <p
            style={{
              fontSize: '13px',
              lineHeight: 1.85,
              color: '#9a7080',
              marginTop: '20px',
              maxWidth: '340px',
            }}
          >
            From timeless charcoal to bold hot pink — each piece is
            designed with 3D reflective embroidery that catches the light
            from every angle.
          </p>
          <button
            style={{
              marginTop: '32px',
              padding: '12px 32px',
              fontSize: '11px',
              letterSpacing: '0.2em',
              fontWeight: 500,
              color: '#d4537e',
              backgroundColor: 'transparent',
              border: '1px solid #d4537e',
              borderRadius: '4px',
              cursor: 'pointer',
              transition: 'all 0.3s ease',
            }}
            onMouseEnter={(e) => {
              e.currentTarget.style.backgroundColor = '#fbeaf0';
            }}
            onMouseLeave={(e) => {
              e.currentTarget.style.backgroundColor = 'transparent';
            }}
          >
            JOIN THE WAITLIST
          </button>
        </div>

        {/* Right Panel */}
        <div
          className="reveal flex items-center justify-center"
          style={{
            backgroundColor: '#fdf0f5',
            padding: '48px',
          }}
        >
          <div className="animate-float">
            <div
              style={{
                width: '260px',
                height: '260px',
                borderRadius: '50%',
                background: 'linear-gradient(135deg, #f5dfe8 0%, #fde8ef 50%, #fbeaf0 100%)',
                display: 'flex',
                flexDirection: 'column',
                alignItems: 'center',
                justifyContent: 'center',
                boxShadow: '0 20px 60px rgba(212, 83, 126, 0.1)',
              }}
            >
              <span
                style={{
                  fontFamily: 'var(--font-serif)',
                  fontSize: '48px',
                  fontWeight: 300,
                  color: '#72243e',
                  letterSpacing: '0.15em',
                }}
              >
                S
              </span>
              <span
                style={{
                  fontSize: '10px',
                  letterSpacing: '0.28em',
                  color: '#9a7080',
                  fontWeight: 500,
                  marginTop: '4px',
                }}
              >
                SIREN
              </span>
            </div>
          </div>
        </div>
      </div>
    </section>
  );
}

// ─── Product Preview ───────────────────────────────────────────────
function ProductPreview() {
  const ref = useScrollReveal();
  return (
    <section
      ref={ref}
      style={{
        backgroundColor: '#fffaf8',
        padding: '80px 24px',
      }}
    >
      <div className="mx-auto" style={{ maxWidth: '1100px' }}>
        {/* Section Header */}
        <div className="reveal text-center" style={{ marginBottom: '48px' }}>
          <span
            style={{
              fontSize: '12px',
              letterSpacing: '0.22em',
              color: '#d4537e',
              fontWeight: 500,
            }}
          >
            THE COLLECTION
          </span>
          <h3
            style={{
              fontFamily: 'var(--font-serif)',
              fontSize: 'clamp(28px, 4vw, 40px)',
              fontWeight: 500,
              color: '#72243e',
              letterSpacing: '-0.01em',
              marginTop: '12px',
            }}
          >
            Every Detail, Considered
          </h3>
        </div>

        {/* Product Image */}
        <div
          className="reveal"
          style={{
            borderRadius: '12px',
            overflow: 'hidden',
            boxShadow: '0 12px 48px rgba(114, 36, 62, 0.08)',
            border: '1px solid #f0dde5',
          }}
        >
          <img
            src="/images/siren-products.jpg"
            alt="SIREN Activewear Collection — Charcoal, Light Blue, Yellow, Hot Pink, Purple"
            style={{
              width: '100%',
              display: 'block',
            }}
          />
        </div>
      </div>
    </section>
  );
}

// ─── Color Swatches ────────────────────────────────────────────────
function ColorSwatches() {
  const ref = useScrollReveal();
  const colors = [
    { name: 'CHARCOAL', hex: '#2d2d2d', desc: 'Effortless. Elevated. Essential.' },
    { name: 'LIGHT BLUE', hex: '#8db8e8', desc: 'Soft. Feminine. Dreamy.' },
    { name: 'YELLOW', hex: '#e8c84a', desc: 'Bright. Uplifting. Confident.' },
    { name: 'HOT PINK', hex: '#e84daa', desc: 'Bold. Playful. Fearless.' },
    { name: 'PURPLE', hex: '#b68de8', desc: 'Bold. Luxe. Magnetic.' },
  ];

  return (
    <section
      ref={ref}
      style={{
        backgroundColor: '#fff5f0',
        padding: '80px 24px',
        borderTop: '1px solid #f0dde5',
        borderBottom: '1px solid #f0dde5',
      }}
    >
      <div className="mx-auto" style={{ maxWidth: '900px' }}>
        <div className="reveal text-center" style={{ marginBottom: '48px' }}>
          <span
            style={{
              fontSize: '12px',
              letterSpacing: '0.22em',
              color: '#d4537e',
              fontWeight: 500,
            }}
          >
            COLORWAYS
          </span>
          <h3
            style={{
              fontFamily: 'var(--font-serif)',
              fontSize: 'clamp(28px, 4vw, 40px)',
              fontWeight: 500,
              color: '#72243e',
              letterSpacing: '-0.01em',
              marginTop: '12px',
            }}
          >
            Choose Your Statement
          </h3>
        </div>

        <div className="reveal grid grid-cols-5 gap-6">
          {colors.map((color, i) => (
            <div
              key={i}
              className="flex flex-col items-center text-center"
              style={{ gap: '12px' }}
            >
              <div
                className="animate-pulse-glow"
                style={{
                  width: '64px',
                  height: '64px',
                  borderRadius: '50%',
                  backgroundColor: color.hex,
                  border: '3px solid #ffffff',
                  boxShadow: '0 4px 16px rgba(0,0,0,0.1)',
                  transition: 'transform 0.3s ease',
                  cursor: 'pointer',
                  animationDelay: `${i * 0.5}s`,
                }}
                onMouseEnter={(e) =>
                  (e.currentTarget.style.transform = 'scale(1.15)')
                }
                onMouseLeave={(e) =>
                  (e.currentTarget.style.transform = 'scale(1)')
                }
              />
              <span
                style={{
                  fontSize: '12px',
                  letterSpacing: '0.04em',
                  fontWeight: 500,
                  color: '#72243e',
                }}
              >
                {color.name}
              </span>
              <span
                style={{
                  fontSize: '11px',
                  color: '#9a7080',
                  lineHeight: 1.5,
                  fontStyle: 'italic',
                }}
              >
                {color.desc}
              </span>
            </div>
          ))}
        </div>
      </div>
    </section>
  );
}

// ─── Features ──────────────────────────────────────────────────────
function Features() {
  const ref = useScrollReveal();
  const features = [
    {
      icon: '◇',
      title: '3D REFLECTIVE EMBROIDERY',
      desc: 'Premium detailing that catches light from every angle, setting you apart.',
    },
    {
      icon: '◈',
      title: 'PREMIUM FABRIC',
      desc: 'Butter-soft, moisture-wicking material that moves with you all day.',
    },
    {
      icon: '✧',
      title: 'FIVE COLORWAYS',
      desc: 'From timeless neutrals to bold statements — find your signature shade.',
    },
    {
      icon: '❋',
      title: 'COMPLETE SETS',
      desc: 'Headband, crop top, and shorts — each piece designed to complement.',
    },
  ];

  return (
    <section
      ref={ref}
      style={{
        backgroundColor: '#fdf6f2',
        padding: '80px 24px',
      }}
    >
      <div className="mx-auto" style={{ maxWidth: '1000px' }}>
        <div className="reveal text-center" style={{ marginBottom: '56px' }}>
          <span
            style={{
              fontSize: '12px',
              letterSpacing: '0.22em',
              color: '#d4537e',
              fontWeight: 500,
            }}
          >
            WHY SIREN
          </span>
          <h3
            style={{
              fontFamily: 'var(--font-serif)',
              fontSize: 'clamp(28px, 4vw, 40px)',
              fontWeight: 500,
              color: '#72243e',
              letterSpacing: '-0.01em',
              marginTop: '12px',
            }}
          >
            Made to Stand Out
          </h3>
        </div>

        <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8">
          {features.map((f, i) => (
            <div
              key={i}
              className="reveal flex flex-col items-center text-center"
              style={{
                backgroundColor: '#ffffff',
                border: '1px solid #f0dde5',
                borderRadius: '12px',
                padding: '40px 24px',
                transition: 'transform 0.3s ease, box-shadow 0.3s ease',
                cursor: 'default',
              }}
              onMouseEnter={(e) => {
                e.currentTarget.style.transform = 'translateY(-4px)';
                e.currentTarget.style.boxShadow =
                  '0 12px 32px rgba(212, 83, 126, 0.08)';
              }}
              onMouseLeave={(e) => {
                e.currentTarget.style.transform = 'translateY(0)';
                e.currentTarget.style.boxShadow = 'none';
              }}
            >
              <div
                style={{
                  width: '56px',
                  height: '56px',
                  borderRadius: '50%',
                  backgroundColor: '#fbeaf0',
                  display: 'flex',
                  alignItems: 'center',
                  justifyContent: 'center',
                  fontSize: '22px',
                  color: '#d4537e',
                  marginBottom: '20px',
                }}
              >
                {f.icon}
              </div>
              <span
                style={{
                  fontSize: '11px',
                  letterSpacing: '0.2em',
                  fontWeight: 500,
                  color: '#72243e',
                  marginBottom: '12px',
                }}
              >
                {f.title}
              </span>
              <p
                style={{
                  fontSize: '13px',
                  lineHeight: 1.85,
                  color: '#9a7080',
                }}
              >
                {f.desc}
              </p>
            </div>
          ))}
        </div>
      </div>
    </section>
  );
}

// ─── Newsletter CTA ────────────────────────────────────────────────
function NewsletterCTA() {
  const ref = useScrollReveal();
  const [email, setEmail] = useState('');
  const [submitted, setSubmitted] = useState(false);

  const handleSubmit = (e: React.FormEvent) => {
    e.preventDefault();
    if (email) {
      setSubmitted(true);
      setEmail('');
    }
  };

  return (
    <section
      ref={ref}
      style={{
        backgroundColor: '#fffaf8',
        padding: '80px 24px',
        borderTop: '1px solid #f0dde5',
      }}
    >
      <div
        className="reveal mx-auto text-center"
        style={{
          maxWidth: '560px',
        }}
      >
        <span
          style={{
            fontSize: '12px',
            letterSpacing: '0.22em',
            color: '#d4537e',
            fontWeight: 500,
          }}
        >
          STAY IN THE KNOW
        </span>
        <h3
          style={{
            fontFamily: 'var(--font-serif)',
            fontSize: 'clamp(28px, 4vw, 40px)',
            fontWeight: 500,
            color: '#72243e',
            letterSpacing: '-0.01em',
            marginTop: '12px',
          }}
        >
          Be the First to Shop
        </h3>
        <p
          style={{
            fontSize: '13px',
            lineHeight: 1.85,
            color: '#9a7080',
            marginTop: '16px',
            maxWidth: '400px',
            marginLeft: 'auto',
            marginRight: 'auto',
          }}
        >
          Sign up for exclusive early access, behind-the-scenes content,
          and launch day perks.
        </p>

        {!submitted ? (
          <form
            onSubmit={handleSubmit}
            className="flex flex-col sm:flex-row items-center justify-center gap-3"
            style={{ marginTop: '32px' }}
          >
            <input
              type="email"
              placeholder="your@email.com"
              value={email}
              onChange={(e) => setEmail(e.target.value)}
              required
              style={{
                padding: '14px 20px',
                fontSize: '13px',
                color: '#1a1014',
                backgroundColor: '#fff5f0',
                border: '1px solid #e8ccd6',
                borderRadius: '4px',
                width: '100%',
                maxWidth: '320px',
                letterSpacing: '0.02em',
              }}
            />
            <button
              type="submit"
              style={{
                padding: '14px 32px',
                fontSize: '11px',
                letterSpacing: '0.2em',
                fontWeight: 500,
                color: '#ffffff',
                backgroundColor: '#d4537e',
                border: '1px solid #d4537e',
                borderRadius: '4px',
                cursor: 'pointer',
                transition: 'background-color 0.3s ease',
                whiteSpace: 'nowrap',
              }}
              onMouseEnter={(e) =>
                (e.currentTarget.style.backgroundColor = '#72243e')
              }
              onMouseLeave={(e) =>
                (e.currentTarget.style.backgroundColor = '#d4537e')
              }
            >
              GET EARLY ACCESS
            </button>
          </form>
        ) : (
          <div
            style={{
              marginTop: '32px',
              padding: '20px',
              backgroundColor: '#fbeaf0',
              borderRadius: '8px',
              border: '1px solid #f0dde5',
            }}
          >
            <p
              style={{
                fontSize: '13px',
                color: '#72243e',
                letterSpacing: '0.04em',
              }}
            >
              ✓ Welcome to the SIREN inner circle!
            </p>
            <p
              style={{
                fontSize: '12px',
                color: '#9a7080',
                marginTop: '4px',
              }}
            >
              We'll be in touch before launch.
            </p>
          </div>
        )}
      </div>
    </section>
  );
}

// ─── Footer ────────────────────────────────────────────────────────
function Footer() {
  return (
    <footer
      style={{
        backgroundColor: '#72243e',
        padding: '64px 24px 40px',
      }}
    >
      <div
        className="mx-auto grid grid-cols-1 md:grid-cols-3 gap-12"
        style={{ maxWidth: '1000px' }}
      >
        {/* Brand */}
        <div className="text-center md:text-left">
          <h4
            style={{
              fontSize: '15px',
              letterSpacing: '0.28em',
              fontWeight: 500,
              color: '#ed93b1',
              marginBottom: '16px',
            }}
          >
            S I R E N
          </h4>
          <p
            style={{
              fontSize: '13px',
              lineHeight: 1.85,
              color: '#c9a0b0',
            }}
          >
            The Art of Attention.
            <br />
            Seen Before Heard.
          </p>
        </div>

        {/* Quick Links */}
        <div className="text-center">
          <h4
            style={{
              fontSize: '11px',
              letterSpacing: '0.22em',
              fontWeight: 500,
              color: '#ed93b1',
              marginBottom: '16px',
            }}
          >
            QUICK LINKS
          </h4>
          <ul style={{ listStyle: 'none', display: 'flex', flexDirection: 'column', gap: '10px' }}>
            {['About', 'Collection', 'Contact', 'FAQ'].map((link) => (
              <li key={link}>
                <a
                  href="#"
                  style={{
                    fontSize: '12px',
                    letterSpacing: '0.1em',
                    color: '#c9a0b0',
                    textDecoration: 'none',
                    transition: 'color 0.3s ease',
                  }}
                  onMouseEnter={(e) =>
                    (e.currentTarget.style.color = '#ed93b1')
                  }
                  onMouseLeave={(e) =>
                    (e.currentTarget.style.color = '#c9a0b0')
                  }
                >
                  {link}
                </a>
              </li>
            ))}
          </ul>
        </div>

        {/* Social / Contact */}
        <div className="text-center md:text-right">
          <h4
            style={{
              fontSize: '11px',
              letterSpacing: '0.22em',
              fontWeight: 500,
              color: '#ed93b1',
              marginBottom: '16px',
            }}
          >
            FOLLOW US
          </h4>
          <div className="flex gap-6 justify-center md:justify-end">
            {['Instagram', 'TikTok', 'Pinterest'].map((social) => (
              <a
                key={social}
                href="#"
                style={{
                  fontSize: '12px',
                  letterSpacing: '0.1em',
                  color: '#c9a0b0',
                  textDecoration: 'none',
                  transition: 'color 0.3s ease',
                }}
                onMouseEnter={(e) =>
                  (e.currentTarget.style.color = '#ed93b1')
                }
                onMouseLeave={(e) =>
                  (e.currentTarget.style.color = '#c9a0b0')
                }
              >
                {social}
              </a>
            ))}
          </div>
          <p
            style={{
              fontSize: '12px',
              color: '#c9a0b0',
              marginTop: '20px',
              letterSpacing: '0.04em',
            }}
          >
            hello@sirenstudio.com
          </p>
        </div>
      </div>

      {/* Bottom bar */}
      <div
        className="mx-auto text-center"
        style={{
          maxWidth: '1000px',
          marginTop: '48px',
          paddingTop: '24px',
          borderTop: '1px solid rgba(237, 147, 177, 0.2)',
        }}
      >
        <p
          style={{
            fontSize: '11px',
            color: '#c9a0b0',
            letterSpacing: '0.1em',
          }}
        >
          © 2025 SIREN. ALL RIGHTS RESERVED.
        </p>
      </div>
    </footer>
  );
}

// ─── Main App ──────────────────────────────────────────────────────
export default function App() {
  return (
    <div style={{ backgroundColor: '#fffaf8', minHeight: '100vh' }}>
      <MarqueeBar />
      <Navigation />
      <HeroSection />
      <BrandLogoSection />
      <EditorialPanel />
      <ProductPreview />
      <ColorSwatches />
      <Features />
      <NewsletterCTA />
      <Footer />
    </div>
  );
}
