/**
 * Futureproof Music School - Brand Design System
 * Reverse-engineered from Framer source
 * 
 * Table of Contents:
 * 1. CSS Variables (Colors, Typography, Spacing, Effects)
 * 2. Base Styles
 * 3. Typography
 * 4. Navigation
 * 5. Buttons
 * 6. Cards
 * 7. Hero Section
 * 8. Sections
 * 9. Mentor Components
 * 10. Testimonials
 * 11. Calendar
 * 12. Kadence AI Section
 * 13. FAQ Accordion
 * 14. Footer
 * 15. Utilities
 * 16. Animations
 */

/* ==========================================================================
   1. CSS VARIABLES
   ========================================================================== */

:root {
    /* === Core Brand Colors === */
    --fms-purple-primary: #5d2da8;
    --fms-purple-light: #a373f8;
    --fms-purple-dark: #3d1d6e;
    --fms-purple-glow: rgba(93, 45, 168, 0.4);
    
    /* === Background Colors === */
    --fms-bg-black: #000000;
    --fms-bg-dark: #181c25;
    --fms-bg-card: rgba(255, 255, 255, 0.05);
    --fms-bg-card-hover: rgba(255, 255, 255, 0.08);
    --fms-bg-elevated: rgba(255, 255, 255, 0.1);
    
    /* === Text Colors === */
    --fms-text-white: #ffffff;
    --fms-text-muted: #ACA3B8; /* Exact match for "FINISH" */
    --fms-text-secondary: rgba(255, 255, 255, 0.65);
    --fms-text-tertiary: rgba(255, 255, 255, 0.4);
    
    /* === Border Colors === */
    --fms-border-subtle: rgba(255, 255, 255, 0.1);
    --fms-border-default: rgba(255, 255, 255, 0.15);
    --fms-border-hover: rgba(255, 255, 255, 0.25);
    --fms-border-purple: rgba(163, 115, 248, 0.5);
    
    /* === Gradients === */
    /* Subtle purple glow - not the white wash */
    --fms-gradient-hero: radial-gradient(
        50% 50% at 50% 30%,
        rgba(93, 45, 168, 0.15) 0%,
        rgba(0, 0, 0, 0) 70%
    );
    
    --fms-gradient-section: radial-gradient(
        112% 50% at 44.4% 90.5%,
        #000 34.6688%,
        #1c1429 100%
    );
    
    --fms-gradient-kadence: radial-gradient(
        60% 37% at 48.3% 63.8%,
        #1e132e 29.4869%,
        #000 100%
    );
    
    --fms-gradient-card: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    --fms-gradient-purple: linear-gradient(
        135deg,
        var(--fms-purple-light) 0%,
        var(--fms-purple-primary) 100%
    );
    
    /* === Typography === */
    --fms-font-display: 'Panchang', sans-serif;
    --fms-font-body: 'Satoshi', sans-serif;
    
    /* === Font Sizes === */
    /* MINIMUM: 14px (0.875rem) for secondary labels, 16px (1rem) for body. NEVER use 12px. */
    --fms-text-sm: 0.875rem;
    --fms-text-base: 1rem;
    --fms-text-lg: 1.125rem;
    --fms-text-xl: 1.25rem;     /* 20px */
    --fms-text-2xl: 1.5rem;     /* 24px */
    --fms-text-3xl: 1.875rem;   /* 30px */
    --fms-text-4xl: 2.25rem;    /* 36px */
    --fms-text-5xl: 3rem;       /* 48px */
    
    /* Specific Framer sizes */
    --fms-text-card-title: 18px;
    
    /* === Spacing === */
    --fms-spacing-xs: 0.25rem;
    --fms-spacing-sm: 0.5rem;
    --fms-spacing-md: 1rem;
    --fms-spacing-lg: 1.5rem;
    --fms-spacing-xl: 2rem;
    --fms-spacing-2xl: 3rem;
    --fms-spacing-3xl: 4rem;
    --fms-spacing-4xl: 6rem;
    
    /* === Border Radius === */
    --fms-radius-sm: 0.375rem;
    --fms-radius-md: 0.5rem;
    --fms-radius-lg: 0.75rem;
    --fms-radius-xl: 1rem;      /* 16px matches .framer-1dgg5p9 border-radius */
    --fms-radius-2xl: 1.5rem;
    --fms-radius-full: 9999px;
    
    /* === Shadows === */
    --fms-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --fms-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --fms-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --fms-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.25);
    --fms-shadow-glow: 0 0 30px var(--fms-purple-glow);
    --fms-shadow-glow-lg: 0 0 60px var(--fms-purple-glow);
    
    /* === Transitions === */
    --fms-transition-fast: 150ms ease;
    --fms-transition-base: 200ms ease;
    --fms-transition-slow: 300ms ease;
    --fms-transition-bounce: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ==========================================================================
   2. BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fms-font-body);
    background-color: var(--fms-bg-black);
    color: var(--fms-text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6,
.font-display {
    font-family: var(--fms-font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.04em; /* Matches Framer */
}

h1 {
    font-size: 36px;
    line-height: 1.0;
}

h2 {
    font-size: 28px;
    line-height: 1.4;
}

h3 {
    font-size: 24px;
    line-height: 1.4;
}

h4 {
    font-size: 18px;
    line-height: 1.4;
}

h5 {
    font-size: 16px;
    line-height: 1.4;
}

h6 {
    font-size: 16px;
    line-height: 1.4;
}

p, .font-body {
    font-family: var(--fms-font-body);
    font-size: 16px;
    line-height: 1.6;
}

/*
 * MINIMUM FONT SIZE POLICY
 * -------------------------
 * 16px (1rem / text-base): Body copy, descriptions, card text, quotes, any readable text.
 * 14px (0.875rem / text-sm): Absolute floor. Only for secondary labels (mentor subtitles,
 *   attribution lines, category tags, metadata, button labels).
 * 12px (text-xs): BANNED. Never use anywhere on the site. No exceptions.
 */

/* Text Color Utilities */
.fms-text-white {
    color: var(--fms-text-white);
}

.fms-text-muted {
    color: var(--fms-text-muted);
}

.fms-text-secondary {
    color: var(--fms-text-secondary);
}

.fms-text-tertiary {
    color: var(--fms-text-tertiary);
}

.fms-text-purple {
    color: var(--fms-purple-light);
}

/* Text Gradient */
.fms-text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--fms-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */

.fms-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 12px;
    /* Matches .framer-b42it2 */
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.fms-nav-link {
    font-size: 16px;
    font-weight: 600;
    font-family: var(--fms-font-body);
    color: #ffffff;
    transition: color var(--fms-transition-fast);
    position: relative;
}

.fms-nav-link:hover {
    color: var(--fms-text-white);
    opacity: 0.8;
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

/* Primary Button */
.fms-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--fms-spacing-sm);
    padding: 12px 24px;
    background-color: var(--fms-purple-primary);
    color: var(--fms-text-white);
    font-family: var(--fms-font-body);
    font-size: var(--fms-text-sm);
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--fms-transition-base);
    white-space: nowrap;
}

.fms-button:hover {
    background-color: #6d35c4;
    transform: translateY(-2px);
    box-shadow: var(--fms-shadow-glow);
}

.fms-button:active {
    transform: translateY(0);
}

/* Button Sizes */
.fms-button-sm {
    padding: 8px 16px;
    font-size: var(--fms-text-sm);
}

.fms-button-lg {
    padding: 16px 32px;
    font-size: var(--fms-text-base);
}

/* Outline Button */
.fms-button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--fms-spacing-sm);
    padding: 10px 20px;
    background: transparent;
    color: var(--fms-text-white);
    font-family: var(--fms-font-body);
    font-size: var(--fms-text-sm);
    font-weight: 600;
    border: 1px solid var(--fms-border-default);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--fms-transition-base);
}

.fms-button-outline:hover {
    background: var(--fms-bg-elevated);
    border-color: var(--fms-text-white);
}

/* Ghost Button (Login) */
.fms-button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--fms-spacing-sm);
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1); /* Matches Framer secondary */
    color: var(--fms-text-white);
    font-family: var(--fms-font-body);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--fms-transition-base);
}

.fms-button-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* ==========================================================================
   6. CARDS
   ========================================================================== */

.fms-card {
    background: var(--fms-bg-card);
    border: 1px solid var(--fms-border-default);
    border-radius: 16px; /* Exact from Framer */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--fms-transition-slow);
}

.fms-card:hover {
    background: var(--fms-bg-card-hover);
    border-color: var(--fms-border-purple);
    transform: translateY(-4px);
}

/* Feature Card */
.fms-card-feature {
    padding: 32px; /* Matches .framer-1dgg5p9 padding */
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.fms-card-visual {
    height: 204px; /* Matches .framer-2zmoic height */
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Inner cards in visuals have their own styles */
}

.fms-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fms-card-title {
    font-family: var(--fms-font-display);
    font-size: var(--fms-text-card-title);
    font-weight: 700;
    color: var(--fms-text-white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.fms-card-text {
    font-size: 16px;
    color: var(--fms-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

/* Visual Elements for Cards (Inner) */
.fms-visual-card-inner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--fms-border-default);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 102px; /* Framer width */
}

.fms-avatar-badge {
    width: 64px;
    height: 64px;
    border-radius: var(--fms-radius-full);
    background: var(--fms-gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--fms-text-lg);
    box-shadow: var(--fms-shadow-glow);
    margin-bottom: 8px;
}

.fms-avatar-stack {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fms-avatar-stack .fms-avatar {
    width: 38px; /* Framer size */
    height: 38px;
    border-radius: var(--fms-radius-full);
    border: 2px solid var(--fms-bg-black);
    margin-left: -10px;
    object-fit: cover;
    background: #333;
}

.fms-avatar-stack .fms-avatar:first-child {
    margin-left: 0;
}


/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */

.fms-hero {
    position: relative;
    padding: 140px 16px 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Side Images */
.fms-hero-side {
    position: absolute;
    top: 108px; /* Matches .framer-cip5n6 top */
    display: flex;
    flex-direction: column;
    gap: 32px;
    z-index: 1;
}

.fms-hero-side-left {
    left: 2.5%;
}

.fms-hero-side-right {
    right: 2.5%;
}

.fms-hero-side-img {
    width: 258px;
    height: 176px;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0.8;
    transition: opacity var(--fms-transition-base);
}

.fms-hero-side-img:hover {
    opacity: 1;
}

@media (max-width: 1200px) {
    .fms-hero-side {
        display: none;
    }
}

/* Hero Content */
.fms-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
}

/* EXACT Typography from Source */
.fms-hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.fms-hero-line-1 {
    font-family: var(--fms-font-display);
    font-weight: 800;
    font-size: clamp(3rem, 10vw, 153px);
    color: #ACA3B8;
    line-height: 1;
    letter-spacing: -0.07px;
}

.fms-hero-line-2 {
    font-family: var(--fms-font-display);
    font-weight: 800;
    font-size: clamp(3rem, 10.5vw, 162px);
    color: rgba(244, 240, 250, 0.8);
    line-height: 0.7;
    letter-spacing: -0.07px;
}

.fms-hero-line-3 {
    font-family: var(--fms-font-display);
    font-weight: 800;
    font-size: clamp(3rem, 10vw, 154px);
    color: #ffffff;
    line-height: 0.9;
    letter-spacing: -0.07px;
}

.fms-hero-subtitle {
    font-size: 22px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    max-width: 640px;
    margin: 0 auto 4px;
    line-height: 1.4;
}

/* ==========================================================================
   8. SECTIONS
   ========================================================================== */

.fms-section {
    padding: 120px 0 80px;
    position: relative;
}

.fms-section-title {
    font-family: var(--fms-font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--fms-text-white);
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 64px;
}

.fms-section-subtitle {
    font-size: 22px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.4;
    text-align: center;
}


/* ==========================================================================
   9. MENTOR COMPONENTS
   ========================================================================== */

.fms-mentor-card {
    background: var(--fms-bg-card);
    border: 1px solid var(--fms-border-subtle);
    border-radius: 16px;
    padding: 16px;
    transition: all var(--fms-transition-slow);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fms-mentor-card:hover {
    border-color: var(--fms-border-purple);
    transform: translateY(-4px);
}

.fms-mentor-image {
    position: relative;
    width: 100%;
    aspect-ratio: 0.96; /* Matches Framer */
    border-radius: 100px; /* Rounded pill shape from source */
    overflow: hidden;
    background: #222;
    margin-bottom: 10px;
}

.fms-mentor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--fms-transition-slow);
}

/* Zoom out adjustment for close-up photos */
.fms-mentor-image img.zoom-out {
    transform: scale(0.5);
}

.fms-mentor-verified {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 16px;
    height: 16px;
    background: var(--fms-purple-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.fms-mentor-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--fms-text-white);
    margin-bottom: 4px;
}

.fms-mentor-role {
    font-size: 14px;
    color: var(--fms-text-secondary);
    line-height: 1.6;
}


/* ==========================================================================
   10. TESTIMONIALS
   ========================================================================== */

.fms-card-testimonial {
    padding: 16px;
    border-radius: 16px;
}

.fms-testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.fms-testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 100px;
    overflow: hidden;
    background: #333;
}

.fms-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fms-testimonial-name {
    font-weight: 700;
    font-size: 14px;
    color: white;
}

.fms-testimonial-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}


/* ==========================================================================
   11. CALENDAR / COMMUNITY
   ========================================================================== */

.fms-section-community {
    padding: 120px 0 80px;
}

.fms-calendar {
    background: rgba(0, 0, 0, 0);
    border: 1px solid var(--fms-border-subtle);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 320px;
}

.fms-calendar-header {
    background: var(--fms-purple-primary);
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    padding: 12px;
    letter-spacing: -0.02em;
}

.fms-calendar-body {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.fms-calendar-day {
    padding: 8px 0;
    border-bottom: 1px solid var(--fms-border-subtle);
}

.fms-calendar-day-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.fms-calendar-event {
    font-size: 14px;
    color: white;
    line-height: 1.4;
}

/* Checklist */
.fms-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fms-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: white;
    font-size: 16px;
    line-height: 1.4;
}

.fms-check-icon {
    width: 16px;
    height: 16px;
    color: var(--fms-purple-light);
    flex-shrink: 0;
}


/* ==========================================================================
   12. KADENCE AI SECTION
   ========================================================================== */

.fms-section-kadence {
    position: relative;
    padding: 120px 60px 60px;
    overflow: hidden;
    background: var(--fms-gradient-kadence);
}

.fms-kadence-avatar {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: visible;
    margin: 0 auto 20px;
}

.fms-kadence-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fms-kadence-tagline {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
    font-weight: 500;
}

.fms-kadence-feature-title {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.fms-kadence-feature-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}


/* ==========================================================================
   13. FAQ ACCORDION
   ========================================================================== */

.fms-section-faq {
    padding: 64px 128px;
    background: var(--fms-gradient-kadence); /* Reusing dark purple gradient */
}

@media (max-width: 768px) {
    .fms-section-faq {
        padding: 64px 24px;
    }
    
    .fms-faq-question {
        padding: 20px 24px;
        gap: 16px;
    }

    .fms-faq-answer {
        padding: 0 24px 24px 60px;
    }
}

.fms-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--fms-border-subtle);
    border-radius: 20px;
    background: rgba(242, 242, 242, 0.05);
    overflow: hidden;
}

.fms-faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fms-faq-question {
    display: flex;
    align-items: center;
    padding: 20px 40px;
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 500;
    color: white;
    gap: 24px;
}

.fms-faq-question::-webkit-details-marker {
    display: none;
}

.fms-faq-icon {
    width: 16px;
    height: 16px;
    color: white;
    opacity: 0.3;
}

.fms-faq-answer {
    padding: 0 40px 20px 80px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}


/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.fms-footer {
    padding: 64px 128px 32px;
    background: black;
}

.fms-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 64px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.fms-footer-brand img {
    width: 180px;
    margin-bottom: 8px;
}

.fms-social-links {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.fms-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 0;
    background: var(--fms-purple-primary);
    color: white;
    transition: background 0.2s ease;
}

.fms-social-links a:hover {
    background: var(--fms-purple-light);
}

.fms-social-links a svg {
    width: 16px;
    height: 16px;
}

.fms-footer-heading {
    font-family: var(--fms-font-display);
    font-weight: 700;
    font-size: 14px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.fms-footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fms-footer-links a {
    font-family: var(--fms-font-body);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    text-transform: none;
    letter-spacing: normal;
    transition: color 0.2s ease;
}

.fms-footer-links a:hover {
    color: white;
}

.fms-footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0;
}

.fms-footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 24px;
}

.fms-footer-copyright {
    text-align: center;
    font-family: var(--fms-font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .fms-footer {
        padding: 48px 24px 24px;
    }

    .fms-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.fms-footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fms-newsletter-form {
    display: flex;
    gap: 10px;
}

.fms-newsletter-input {
    background: rgba(187, 187, 187, 0.15);
    border: 1px solid rgba(136, 136, 136, 0.1);
    border-radius: 10px;
    padding: 12px;
    color: #999;
    font-size: 14px;
    width: 240px;
}

.fms-newsletter-text {
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 10px;
}


/* ==========================================================================
   15. ACTIVECAMPAIGN FORM OVERRIDES
   ========================================================================== */

/* Container wrapper for AC forms */
.ac-form-wrapper {
    width: 100%;
}

/* Reset AC form backgrounds */
.ac-form-wrapper ._form,
.ac-form-wrapper .formkit-form {
    background: transparent !important;
    font-family: var(--fms-font-body) !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Form layout - inline on larger screens */
.ac-form-wrapper ._form-content,
.ac-form-wrapper .formkit-fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
}

@media (min-width: 640px) {
    .ac-form-wrapper ._form-content,
    .ac-form-wrapper .formkit-fields {
        flex-direction: row !important;
        justify-content: center !important;
    }
}

/* Email input field */
.ac-form-wrapper input[type="text"],
.ac-form-wrapper input[type="email"],
.ac-form-wrapper ._field input,
.ac-form-wrapper .formkit-input {
    background: rgba(187, 187, 187, 0.15) !important;
    border: 1px solid rgba(136, 136, 136, 0.1) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-family: var(--fms-font-body) !important;
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
    line-height: 1.4 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color var(--fms-transition-fast),
                background-color var(--fms-transition-fast) !important;
}

.ac-form-wrapper input[type="text"]:focus,
.ac-form-wrapper input[type="email"]:focus,
.ac-form-wrapper ._field input:focus,
.ac-form-wrapper .formkit-input:focus {
    border-color: var(--fms-purple-light) !important;
    background: rgba(187, 187, 187, 0.2) !important;
}

.ac-form-wrapper input::placeholder,
.ac-form-wrapper ._field input::placeholder,
.ac-form-wrapper .formkit-input::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

/* Hide labels (optional - for minimal look) */
.ac-form-wrapper ._field-label,
.ac-form-wrapper .formkit-label,
.ac-form-wrapper label {
    display: none !important;
}

/* Submit button */
.ac-form-wrapper button[type="submit"],
.ac-form-wrapper input[type="submit"],
.ac-form-wrapper ._submit,
.ac-form-wrapper .formkit-submit {
    background-color: var(--fms-purple-primary) !important;
    color: #fff !important;
    font-family: var(--fms-font-body) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    cursor: pointer !important;
    transition: all var(--fms-transition-base) !important;
    white-space: nowrap !important;
    height: auto !important;
    line-height: 1.4 !important;
}

.ac-form-wrapper button[type="submit"]:hover,
.ac-form-wrapper input[type="submit"]:hover,
.ac-form-wrapper ._submit:hover,
.ac-form-wrapper .formkit-submit:hover {
    background-color: #6d35c4 !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--fms-shadow-glow) !important;
}

/* Success/Thank you message */
.ac-form-wrapper ._form-thank-you,
.ac-form-wrapper .formkit-alert-success,
.ac-form-wrapper ._success-message {
    color: var(--fms-purple-light) !important;
    font-family: var(--fms-font-body) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-align: center !important;
    padding: 16px !important;
}

/* Error messages */
.ac-form-wrapper ._error,
.ac-form-wrapper ._form_error,
.ac-form-wrapper .formkit-alert-error {
    color: #ff6b6b !important;
    font-family: var(--fms-font-body) !important;
    font-size: 14px !important;
    margin-top: 4px !important;
}

/* Hide AC branding */
.ac-form-wrapper ._form-branding,
.ac-form-wrapper .formkit-powered-by {
    display: none !important;
}

/* Field wrapper resets */
.ac-form-wrapper ._field-wrapper,
.ac-form-wrapper .formkit-field {
    margin: 0 !important;
    padding: 0 !important;
}

