/* ============================================================
   FAREWELL FOOTAGE - Main Stylesheet
   A dignified platform for preserving final messages
   ============================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700&display=swap');

/* ============================================================
   1. CSS RESET / NORMALIZE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #F5F5F5;
    color: #2D2D2D;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.3;
    color: #0D1B2A;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: #C9A84C;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #b8953e;
}

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

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* ============================================================
   2. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Brand Colors */
    --color-navy: #0D1B2A;
    --color-navy-light: #1B2D45;
    --color-navy-dark: #070F18;
    --color-white: #F5F5F5;
    --color-white-pure: #FFFFFF;
    --color-gold: #C9A84C;
    --color-gold-light: #D4BA6A;
    --color-gold-dark: #A88B3A;
    --color-rose: #B5838D;
    --color-rose-light: #C9A0A8;
    --color-rose-dark: #9A6B74;
    --color-text: #2D2D2D;
    --color-text-light: #6B6B6B;
    --color-gray: #E8E8E8;
    --color-gray-dark: #CCCCCC;
    --color-success: #4A7C59;
    --color-warning: #D4A843;
    --color-danger: #B5838D;
    --color-info: #4A90A4;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-navbar: 1000;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-notification: 1100;
    --z-cookie: 1200;
}

/* ============================================================
   3. LAYOUT
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.section-alt {
    background-color: var(--color-white-pure);
}

.section-navy {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.section-navy h2,
.section-navy h3,
.section-navy h4 {
    color: var(--color-white);
}

.section-navy p {
    color: rgba(245, 245, 245, 0.8);
}

/* ============================================================
   4. NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-navbar);
    padding: 1rem 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: var(--color-navy);
    padding: 0.6rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar.solid {
    background: var(--color-navy);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white-pure);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.navbar-logo img {
    height: 36px;
    width: auto;
}

.navbar-logo:hover {
    color: var(--color-gold);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.25rem 0;
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-normal);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--color-white-pure);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
    width: 100%;
}

.navbar-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-auth .btn-login {
    color: var(--color-white-pure);
    font-size: 0.95rem;
    padding: 0.4rem 1rem;
    transition: color var(--transition-fast);
}

.navbar-auth .btn-login:hover {
    color: var(--color-gold);
}

.navbar-auth .btn-signup {
    background: var(--color-gold);
    color: var(--color-navy);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.navbar-auth .btn-signup:hover {
    background: var(--color-gold-light);
    transform: translateY(-1px);
}

/* Hamburger Menu */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.navbar-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-white-pure);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   5. HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--color-navy);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(13, 27, 42, 0.7) 0%,
        rgba(13, 27, 42, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 0 1.5rem;
    animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
    font-size: 3.25rem;
    color: var(--color-white-pure);
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-content h1 span {
    color: var(--color-gold);
}

.hero-content .hero-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta .btn-primary {
    padding: 0.85rem 2.25rem;
    font-size: 1.05rem;
}

.hero-cta .btn-outline-white {
    padding: 0.85rem 2.25rem;
    font-size: 1.05rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--color-white-pure);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.hero-cta .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white-pure);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s ease infinite;
}

.hero-scroll-indicator span {
    display: block;
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollDot 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollDot {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

/* ============================================================
   6. HOW IT WORKS
   ============================================================ */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
}

.how-it-works-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 16.67%;
    right: 16.67%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light), var(--color-gold));
    opacity: 0.3;
    z-index: 0;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: var(--color-gold);
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.step-icon {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    display: block;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ============================================================
   7. FEATURES
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--color-white-pure);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: rgba(201, 168, 76, 0.1);
    color: var(--color-gold);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.feature-card h4 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================================
   8. TESTIMONIALS
   ============================================================ */
.testimonials-section {
    background: var(--color-navy);
    color: var(--color-white);
}

.testimonials-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: none;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 350px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--color-navy-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-gold);
    opacity: 0.4;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-navy);
    font-size: 1.1rem;
}

.testimonial-author-info h5 {
    color: var(--color-white-pure);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-author-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white-pure);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    font-size: 1.1rem;
}

.carousel-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
}

/* ============================================================
   9. PRICING
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--color-white-pure);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--color-gold);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold);
    color: var(--color-navy);
    padding: 0.3rem 1.25rem;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-plan {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-light);
}

.pricing-description {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-gray);
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: '\2713';
    color: var(--color-gold);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--color-text-light);
    text-decoration: line-through;
    opacity: 0.5;
}

.pricing-features li.disabled::before {
    content: '\2717';
    color: var(--color-rose);
}

/* ============================================================
   10. FAQ ACCORDION
   ============================================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white-pure);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--color-gray);
    transition: border-color var(--transition-fast);
}

.faq-item.active {
    border-color: var(--color-gold);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color var(--transition-fast);
    width: 100%;
    text-align: left;
    color: var(--color-navy);
    background: none;
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--color-gold);
    transition: transform var(--transition-normal);
}

.faq-toggle::before {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-toggle::after {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item.active .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ============================================================
   11. ABOUT SECTION
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   12. CONTACT FORM
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(201, 168, 76, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-form {
    background: var(--color-white-pure);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ============================================================
   13. FORMS
   ============================================================ */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-gray);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-white-pure);
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-control::placeholder {
    color: var(--color-gray-dark);
}

.form-control.error {
    border-color: var(--color-rose);
    box-shadow: 0 0 0 3px rgba(181, 131, 141, 0.15);
}

.form-control.success {
    border-color: var(--color-success);
}

/* Floating Label */
.form-floating {
    position: relative;
}

.form-floating .form-control {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.form-floating .form-label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    transition: all var(--transition-fast);
    pointer-events: none;
    margin: 0;
    color: var(--color-text-light);
    font-weight: 400;
    font-size: 1rem;
}

.form-floating .form-control:focus ~ .form-label,
.form-floating .form-control:not(:placeholder-shown) ~ .form-label {
    top: 0.6rem;
    transform: translateY(0);
    font-size: 0.75rem;
    color: var(--color-gold);
    font-weight: 600;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-text {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.35rem;
}

.form-error {
    font-size: 0.8rem;
    color: var(--color-rose);
    margin-top: 0.35rem;
    display: none;
}

.form-group.has-error .form-error {
    display: block;
}

.form-group.has-error .form-control {
    border-color: var(--color-rose);
}

/* Custom Checkbox */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    display: none;
}

.form-check-mark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-gray-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    margin-top: 2px;
}

.form-check input[type="radio"] + .form-check-mark {
    border-radius: var(--radius-full);
}

.form-check input:checked + .form-check-mark {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.form-check input:checked + .form-check-mark::after {
    content: '\2713';
    color: var(--color-white-pure);
    font-size: 0.75rem;
    font-weight: 700;
}

.form-check-label {
    font-size: 0.9rem;
    cursor: pointer;
}

/* Password Strength */
.password-strength {
    display: flex;
    gap: 4px;
    margin-top: 0.5rem;
}

.password-strength-bar {
    height: 4px;
    flex: 1;
    background: var(--color-gray);
    border-radius: 2px;
    transition: background var(--transition-fast);
}

.password-strength.weak .password-strength-bar:nth-child(1) {
    background: var(--color-rose);
}

.password-strength.fair .password-strength-bar:nth-child(-n+2) {
    background: var(--color-warning);
}

.password-strength.good .password-strength-bar:nth-child(-n+3) {
    background: var(--color-info);
}

.password-strength.strong .password-strength-bar {
    background: var(--color-success);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--color-text-light);
    font-size: 0.9rem;
    padding: 4px;
}

.form-group.password-group {
    position: relative;
}

.form-group.password-group .form-control {
    padding-right: 3rem;
}

/* Character Counter */
.char-counter {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-align: right;
    margin-top: 0.25rem;
}

.char-counter.warning {
    color: var(--color-warning);
}

.char-counter.danger {
    color: var(--color-rose);
}

/* File Upload */
.file-upload-zone {
    border: 2px dashed var(--color-gray-dark);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    background: rgba(201, 168, 76, 0.02);
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: var(--color-gold);
    background: rgba(201, 168, 76, 0.06);
}

.file-upload-zone .upload-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    display: block;
}

.file-upload-zone p {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.file-upload-zone .upload-btn {
    color: var(--color-gold);
    font-weight: 700;
    text-decoration: underline;
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-white-pure);
    border-radius: var(--radius-md);
    margin-top: 1rem;
    border: 1px solid var(--color-gray);
}

.file-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.file-preview-info {
    flex: 1;
}

.file-preview-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.file-preview-size {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.file-preview-remove {
    color: var(--color-rose);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1.1rem;
}

/* ============================================================
   14. BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
}

.btn-primary:hover {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.35);
    color: var(--color-navy);
}

.btn-secondary {
    background: var(--color-navy);
    color: var(--color-white-pure);
    border-color: var(--color-navy);
}

.btn-secondary:hover {
    background: var(--color-navy-light);
    border-color: var(--color-navy-light);
    transform: translateY(-2px);
    color: var(--color-white-pure);
}

.btn-outline {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn-outline:hover {
    background: var(--color-navy);
    color: var(--color-white-pure);
}

.btn-outline-gold {
    background: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.btn-outline-gold:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

.btn-danger {
    background: var(--color-rose);
    color: var(--color-white-pure);
    border-color: var(--color-rose);
}

.btn-danger:hover {
    background: var(--color-rose-dark);
    border-color: var(--color-rose-dark);
    transform: translateY(-2px);
    color: var(--color-white-pure);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--color-gray);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* ============================================================
   15. CARDS
   ============================================================ */
.card {
    background: var(--color-white-pure);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.card-body {
    padding: 1.5rem;
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-gray);
    font-family: var(--font-heading);
    font-weight: 600;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-gray);
    background: rgba(0, 0, 0, 0.01);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ============================================================
   16. BADGES
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-draft {
    background: var(--color-gray);
    color: var(--color-text-light);
}

.badge-locked {
    background: var(--color-navy);
    color: var(--color-white-pure);
}

.badge-released {
    background: var(--color-gold);
    color: var(--color-navy);
}

.badge-success {
    background: rgba(74, 124, 89, 0.15);
    color: var(--color-success);
}

.badge-warning {
    background: rgba(212, 168, 67, 0.15);
    color: var(--color-warning);
}

.badge-danger {
    background: rgba(181, 131, 141, 0.15);
    color: var(--color-rose-dark);
}

.badge-info {
    background: rgba(74, 144, 164, 0.15);
    color: var(--color-info);
}

/* ============================================================
   17. ALERTS
   ============================================================ */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    border-left: 4px solid;
    animation: fadeIn 0.3s ease;
}

.alert-success {
    background: rgba(74, 124, 89, 0.08);
    border-left-color: var(--color-success);
    color: var(--color-success);
}

.alert-error {
    background: rgba(181, 131, 141, 0.08);
    border-left-color: var(--color-rose);
    color: var(--color-rose-dark);
}

.alert-warning {
    background: rgba(212, 168, 67, 0.08);
    border-left-color: var(--color-warning);
    color: #8B6914;
}

.alert-info {
    background: rgba(74, 144, 164, 0.08);
    border-left-color: var(--color-info);
    color: var(--color-info);
}

.alert-dismiss {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.6;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0;
    color: inherit;
}

.alert-dismiss:hover {
    opacity: 1;
}

/* ============================================================
   18. MODAL
   ============================================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 42, 0.7);
    z-index: var(--z-modal-backdrop);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--color-white-pure);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideInUp 0.3s ease;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--color-gray);
    color: var(--color-text);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-gray);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* ============================================================
   19. SPINNER / LOADING
   ============================================================ */
.spinner {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid var(--color-gray);
    border-top-color: var(--color-gold);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

.spinner-sm {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.spinner-lg {
    width: 52px;
    height: 52px;
    border-width: 4px;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 245, 245, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    gap: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Progress Bar */
.progress {
    height: 8px;
    background: var(--color-gray);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    border-radius: 4px;
    transition: width 0.4s ease;
    position: relative;
}

.progress-bar.animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShimmer 1.5s ease infinite;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ============================================================
   20. DASHBOARD
   ============================================================ */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 60px;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--color-navy);
    color: var(--color-white);
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: var(--z-sticky);
    transition: transform var(--transition-normal);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    color: var(--color-white-pure);
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-nav a.active {
    color: var(--color-gold);
    background: rgba(201, 168, 76, 0.08);
    border-left-color: var(--color-gold);
}

.sidebar-nav a .nav-icon {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.sidebar-section {
    padding: 0.75rem 1.5rem 0.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 700;
}

/* Dashboard Main */
.dashboard-main {
    flex: 1;
    margin-left: 260px;
    padding: 2rem;
    background: var(--color-white);
    min-height: calc(100vh - 60px);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header h2 {
    font-size: 1.75rem;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: var(--color-white-pure);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.summary-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.summary-card-icon.gold {
    background: rgba(201, 168, 76, 0.1);
    color: var(--color-gold);
}

.summary-card-icon.navy {
    background: rgba(13, 27, 42, 0.08);
    color: var(--color-navy);
}

.summary-card-icon.rose {
    background: rgba(181, 131, 141, 0.1);
    color: var(--color-rose);
}

.summary-card-icon.success {
    background: rgba(74, 124, 89, 0.1);
    color: var(--color-success);
}

.summary-card-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-navy);
    line-height: 1.2;
}

.summary-card-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Message / Video List */
.data-table-wrapper {
    background: var(--color-white-pure);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.data-table-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.data-table-header h3 {
    font-size: 1.15rem;
}

.data-table-filters {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.data-table-filters select {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--color-gray);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--color-text);
    background: var(--color-white-pure);
    cursor: pointer;
}

.data-table {
    width: 100%;
}

.data-table th {
    padding: 0.85rem 1.5rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid var(--color-gray);
}

.data-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-gray);
    font-size: 0.95rem;
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: rgba(201, 168, 76, 0.03);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table-actions {
    display: flex;
    gap: 0.5rem;
}

.data-table-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--color-text-light);
}

/* Profile Section */
.profile-section {
    background: var(--color-white-pure);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-gray);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: var(--color-navy);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

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

.profile-avatar-upload {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white-pure);
    font-size: 0.65rem;
    text-align: center;
    padding: 3px 0;
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.profile-avatar:hover .profile-avatar-upload {
    opacity: 1;
}

/* Sidebar Toggle Button (Mobile) */
.sidebar-toggle-btn {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--color-navy);
    color: var(--color-gold);
    box-shadow: var(--shadow-lg);
    z-index: calc(var(--z-sticky) + 1);
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* ============================================================
   21. VIDEO RECORDER
   ============================================================ */
.recorder-container {
    max-width: 800px;
    margin: 0 auto;
}

.recorder-preview {
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    margin-bottom: 1.5rem;
}

.recorder-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recorder-preview .recorder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: var(--color-white-pure);
    flex-direction: column;
    gap: 1rem;
}

.recorder-timer {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white-pure);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    z-index: 2;
}

.recorder-timer.recording {
    color: #FF4444;
}

.recorder-timer.recording::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #FF4444;
    border-radius: var(--radius-full);
    margin-right: 0.5rem;
    animation: recordBlink 1s ease infinite;
}

@keyframes recordBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.recorder-max-duration {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    z-index: 2;
}

.recorder-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}

.recorder-btn {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.recorder-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.recorder-btn-record {
    background: #E53E3E;
    color: var(--color-white-pure);
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
}

.recorder-btn-record:hover:not(:disabled) {
    background: #C53030;
    transform: scale(1.05);
}

.recorder-btn-record.recording {
    animation: recordPulse 1.5s ease infinite;
}

@keyframes recordPulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(229, 62, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 62, 62, 0); }
}

.recorder-btn-pause {
    background: #ECC94B;
    color: var(--color-navy);
}

.recorder-btn-pause:hover:not(:disabled) {
    background: #D69E2E;
}

.recorder-btn-stop {
    background: var(--color-white-pure);
    color: var(--color-navy);
    border-color: var(--color-gray-dark);
}

.recorder-btn-stop:hover:not(:disabled) {
    background: var(--color-gray);
}

.recorder-btn-switch {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white-pure);
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    z-index: 2;
}

.recorder-btn-switch:hover {
    background: rgba(255, 255, 255, 0.25);
}

.recorder-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* ============================================================
   22. LETTER EDITOR
   ============================================================ */
.editor-container {
    background: var(--color-white-pure);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.editor-toolbar {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-gray);
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.01);
}

.editor-toolbar button {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}

.editor-toolbar button:hover {
    background: var(--color-gray);
    color: var(--color-text);
}

.editor-toolbar button.active {
    background: var(--color-gold);
    color: var(--color-navy);
}

.editor-toolbar .separator {
    width: 1px;
    height: 24px;
    background: var(--color-gray);
    margin: 0 0.25rem;
}

.editor-area {
    min-height: 400px;
    padding: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    outline: none;
}

.editor-area:empty::before {
    content: attr(data-placeholder);
    color: var(--color-gray-dark);
    pointer-events: none;
}

.editor-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.editor-autosave {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.editor-autosave.saving {
    color: var(--color-gold);
}

.editor-autosave.saved {
    color: var(--color-success);
}

/* ============================================================
   23. COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-navy);
    color: var(--color-white);
    padding: 1.25rem 0;
    z-index: var(--z-cookie);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
}

.cookie-banner p a {
    color: var(--color-gold);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* ============================================================
   24. FOOTER
   ============================================================ */
.footer {
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about {
    padding-right: 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white-pure);
    display: block;
    margin-bottom: 1rem;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
}

.footer h4 {
    color: var(--color-white-pure);
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-icon {
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--color-gold);
}

/* ============================================================
   25. TOAST / NOTIFICATION
   ============================================================ */
.toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: var(--z-notification);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 380px;
    width: 100%;
    pointer-events: none;
}

.toast {
    background: var(--color-white-pure);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: slideInRight 0.3s ease;
    pointer-events: all;
    border-left: 4px solid;
}

.toast.success { border-left-color: var(--color-success); }
.toast.error { border-left-color: var(--color-rose); }
.toast.warning { border-left-color: var(--color-warning); }
.toast.info { border-left-color: var(--color-info); }

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.toast.success .toast-icon { color: var(--color-success); }
.toast.error .toast-icon { color: var(--color-rose); }
.toast.warning .toast-icon { color: var(--color-warning); }
.toast.info .toast-icon { color: var(--color-info); }

.toast-message {
    flex: 1;
    font-size: 0.9rem;
}

.toast-close {
    cursor: pointer;
    opacity: 0.5;
    font-size: 1.1rem;
    padding: 0;
    color: var(--color-text);
}

.toast-close:hover {
    opacity: 1;
}

.toast.hiding {
    animation: slideOutRight 0.3s ease forwards;
}

/* ============================================================
   26. ADMIN PANEL
   ============================================================ */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    background: var(--color-navy-dark);
    color: var(--color-white);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: var(--z-sticky);
}

.admin-sidebar-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gold);
}

.admin-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.admin-sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white-pure);
}

.admin-sidebar-nav a.active {
    background: rgba(201, 168, 76, 0.1);
    color: var(--color-gold);
    border-left: 3px solid var(--color-gold);
}

.admin-main {
    flex: 1;
    margin-left: 240px;
    padding: 2rem;
    background: var(--color-white);
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-gray);
}

/* Admin Stat Cards */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: var(--color-white-pure);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-gold);
}

.admin-stat-card .stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-navy);
    line-height: 1.2;
}

.admin-stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-stat-card .stat-change {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.admin-stat-card .stat-change.up {
    color: var(--color-success);
}

.admin-stat-card .stat-change.down {
    color: var(--color-rose);
}

/* Admin Data Table */
.admin-table {
    width: 100%;
    background: var(--color-white-pure);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table th {
    background: var(--color-navy);
    color: var(--color-white-pure);
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--color-gray);
    font-size: 0.9rem;
}

.admin-table tbody tr:hover {
    background: rgba(201, 168, 76, 0.04);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

/* Admin Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    color: var(--color-text);
}

.pagination a:hover {
    background: var(--color-gray);
}

.pagination .active {
    background: var(--color-gold);
    color: var(--color-navy);
    font-weight: 700;
}

/* ============================================================
   27. AUTH PAGES
   ============================================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
}

.auth-card {
    background: var(--color-white-pure);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-xl);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-gray);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.auth-footer a {
    color: var(--color-gold);
    font-weight: 700;
}

/* ============================================================
   28. ANIMATIONS / KEYFRAMES
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Animate on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.slide-left {
    transform: translateX(-30px);
}

.animate-on-scroll.slide-left.animated {
    transform: translateX(0);
}

.animate-on-scroll.slide-right {
    transform: translateX(30px);
}

.animate-on-scroll.slide-right.animated {
    transform: translateX(0);
}

.animate-on-scroll.zoom-in {
    transform: scale(0.9);
}

.animate-on-scroll.zoom-in.animated {
    transform: scale(1);
}

/* Delay Classes */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ============================================================
   29. UTILITY CLASSES
   ============================================================ */

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Margins - Top */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Margins - Bottom */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Margins - Left */
.ml-1 { margin-left: 0.5rem; }
.ml-2 { margin-left: 1rem; }
.ml-auto { margin-left: auto; }

/* Margins - Right */
.mr-1 { margin-right: 0.5rem; }
.mr-2 { margin-right: 1rem; }
.mr-auto { margin-right: auto; }

/* Margins - X/Y */
.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding */
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }

/* Display */
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-inline-flex { display: inline-flex; }

/* Flex Utilities */
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1; }

/* Gap */
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Width */
.w-100 { width: 100%; }
.w-50 { width: 50%; }

/* Text */
.fw-bold { font-weight: 700; }
.fw-light { font-weight: 300; }
.fs-sm { font-size: 0.85rem; }
.fs-lg { font-size: 1.15rem; }
.text-gold { color: var(--color-gold); }
.text-navy { color: var(--color-navy); }
.text-rose { color: var(--color-rose); }
.text-muted { color: var(--color-text-light); }
.text-white { color: var(--color-white-pure); }
.text-uppercase { text-transform: uppercase; }
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Background */
.bg-navy { background-color: var(--color-navy); }
.bg-gold { background-color: var(--color-gold); }
.bg-white { background-color: var(--color-white-pure); }
.bg-gray { background-color: var(--color-gray); }

/* Border */
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow */
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Position */
.relative { position: relative; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Visibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   30. RESPONSIVE - MOBILE FIRST BREAKPOINTS
   ============================================================ */

/* Small phones (375px+) */
@media (max-width: 374px) {
    html { font-size: 14px; }
    .hero-content h1 { font-size: 2rem; }
}

/* Tablets and below (max-width: 768px) */
@media (max-width: 768px) {
    /* Navigation */
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-navy);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: right var(--transition-normal);
        z-index: 999;
        box-shadow: var(--shadow-xl);
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .navbar-nav a {
        padding: 0.85rem 0;
        font-size: 1.1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-auth {
        flex-direction: column;
        width: 100%;
        margin-top: 1.5rem;
    }

    .navbar-auth .btn-signup {
        width: 100%;
        text-align: center;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content .hero-tagline {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-outline-white {
        width: 100%;
    }

    /* Sections */
    .section {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.35rem; }

    /* How It Works */
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .how-it-works-grid::before {
        display: none;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Testimonials */
    .testimonial-card {
        min-width: 280px;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-about {
        padding-right: 0;
    }

    /* Dashboard */
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .dashboard-main {
        margin-left: 0;
        padding: 1.25rem;
    }

    .sidebar-toggle-btn {
        display: flex;
    }

    .summary-cards {
        grid-template-columns: 1fr 1fr;
    }

    /* Data Table Scroll */
    .data-table-wrapper {
        overflow-x: auto;
    }

    .data-table {
        min-width: 600px;
    }

    /* Admin */
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    /* Auth */
    .auth-card {
        padding: 1.75rem;
    }

    /* Cookie Banner */
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }

    /* Toast */
    .toast-container {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }

    /* Recorder */
    .recorder-controls {
        gap: 0.75rem;
    }

    /* Editor */
    .editor-area {
        min-height: 300px;
        padding: 1.25rem;
    }

    /* Modal */
    .modal {
        margin: 1rem;
    }

    /* Profile */
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Medium (between 768px and 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .pricing-card.popular {
        transform: scale(1.02);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .about-grid {
        gap: 2.5rem;
    }

    .summary-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens (1024px+) */
@media (min-width: 1025px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

/* Extra large screens (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .section {
        padding: 6rem 0;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cookie-banner,
    .sidebar,
    .toast-container,
    .modal-overlay {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Dark Mode Support (optional enhancement) */
@media (prefers-color-scheme: dark) {
    /* Kept empty intentionally - site has its own dark theme via navy sections */
}
