/* ============================================
   Fluency Digital - Global Styles
   ============================================
   Last updated: 2025-12-12
   Design: McKinsey + Accenture Fusion

   Sections:
   - Fonts & CSS Variables
   - Header & Navigation
   - Buttons (Accenture-inspired solid fills)
   - Sections & Layout
   - Cards
   - Forms
   - Utilities
   - Animations
   - Micro-Interactions
   - Signature Graphic Elements
   - Responsive Breakpoints
   - Footer
   ============================================ */

/* ============================================
   FONTS - Playfair Display for headlines (McKinsey-style serif)
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Primary Colors - Bolder teal (Accenture-inspired saturation) */
    --primary-teal: #0d9488;
    --primary-teal-bold: #0f766e;
    --secondary-blue: #0891b2;
    --light-cyan: #06b6d4;

    /* Accenture-inspired accent */
    --accent-purple: #A100FF;
    --accent-purple-soft: #c084fc;

    /* Neutrals - Higher contrast (Accenture-inspired) */
    --primary-black: #000000;
    --dark-gray: #111111;
    --medium-gray: #1f2937;
    --text-primary: #0a0a0a;
    --text-secondary: #374151;
    --light-gray: #4b5563;
    --muted-gray: #9ca3af;
    --border-light: #e5e7eb;

    /* Light Colors */
    --clean-white: #ffffff;
    --off-white: #fafafa;
    --bg-glass: rgba(255, 255, 255, 0.98);

    /* Buttons - Solid fills (Accenture style) */
    --btn-primary-bg: #0d9488;
    --btn-primary-hover: #0f766e;
    --btn-secondary-bg: #111111;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-teal), var(--secondary-blue));
    --gradient-full: linear-gradient(135deg, var(--primary-teal), var(--secondary-blue), var(--light-cyan));

    /* McKinsey-style soft background gradients */
    --bg-gradient-light: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    --bg-gradient-gray: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--clean-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--primary-teal);
}

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

/* ============================================
   HEADER
   ============================================ */
header.fluency-header {
    background: var(--primary-black);
    padding: 35px 45px !important;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
}

header.fluency-header.transparent {
    background: transparent;
}

header.fluency-header.scrolled {
    padding: 20px 45px !important;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.fluency-header a {
    border-bottom: none;
}

.fluency-header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.fluency-header-content > a:first-child {
    position: absolute;
    left: 0;
}

img.fluency-logo {
    height: 90px;
    max-height: 90px;
    transition: height 0.3s ease, max-height 0.3s ease;
}

.fluency-header.scrolled img.fluency-logo {
    height: 60px;
    max-height: 60px;
}

.fluency-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.fluency-nav a {
    color: #bfbfbf;
    text-decoration: none;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.1s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.fluency-nav a:hover {
    color: var(--primary-teal);
    border-bottom-color: var(--primary-teal);
}

.fluency-nav a.active {
    color: var(--primary-teal);
    border-bottom-color: var(--primary-teal);
}

.fluency-nav a:active {
    transform: scale(0.95);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--clean-white);
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 0;
    padding: 10px;
}

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 100px 20px 50px;
    padding-top: calc(100px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(50px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--clean-white);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    transition: color 0.3s ease;
    border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary-teal);
}

.mobile-menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: var(--clean-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
}

/* ============================================
   BUTTONS - Accenture-inspired solid fills
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--clean-white);
    border-color: var(--btn-primary-bg);
}

.btn-primary:hover {
    background: var(--clean-white);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.25);
}

.btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--clean-white);
    border-color: var(--btn-secondary-bg);
}

.btn-secondary:hover {
    background: var(--clean-white);
    border-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--primary-teal);
    border-color: var(--primary-teal);
    border-width: 2px;
}

.btn-outline:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--clean-white);
}

.btn-outline-light {
    background: transparent;
    color: var(--clean-white);
    border-color: var(--clean-white);
    border-width: 2px;
}

.btn-outline-light:hover {
    background: var(--clean-white);
    border-color: var(--clean-white);
    color: var(--text-primary);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-gray);
    margin-bottom: 16px;
    position: relative;
    padding-left: 20px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 1px;
    background: var(--primary-teal);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: 0;
}

.section-title-gradient {
    background: var(--gradient-full);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--light-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   CARDS - Cleaner, Accenture-inspired
   ============================================ */
.card {
    background: var(--clean-white);
    border-radius: 8px;
    padding: 32px;
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-teal);
}

.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-black);
    color: var(--clean-white);
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-teal);
}

.footer-section p,
.footer-section a {
    color: var(--muted-gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-teal);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--muted-gray);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-teal);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--clean-white);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.hidden { display: none; }

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

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

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   MICRO-INTERACTIONS
   ============================================ */

/* Smooth link underlines */
.text-link {
    position: relative;
    text-decoration: none;
    color: var(--primary-teal);
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-link:hover::after {
    width: 100%;
}

/* Focus states for accessibility */
.btn:focus,
a:focus {
    outline: 2px solid var(--primary-teal);
    outline-offset: 3px;
}

.btn:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

/* Card hover lift */
.card-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Subtle pulse for CTAs */
@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
    50% { box-shadow: 0 0 0 8px rgba(13, 148, 136, 0.1); }
}

.pulse-cta {
    animation: subtlePulse 3s ease-in-out infinite;
}

/* Image zoom on hover */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Icon rotation on hover */
.icon-rotate {
    transition: transform 0.3s ease;
}

.icon-rotate:hover {
    transform: rotate(15deg);
}

/* Stagger children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth color transitions for interactive elements */
input, textarea, select {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
    outline: none;
}

/* Number counter animation helper */
.counter-animate {
    transition: all 0.3s ease;
}

/* ============================================
   SIGNATURE GRAPHIC ELEMENTS
   ============================================ */

/* Gradient accent line - use on section headers */
.accent-line {
    position: relative;
}

.accent-line::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--secondary-cyan));
    border-radius: 2px;
}

.accent-line-center::before {
    left: 50%;
    transform: translateX(-50%);
}

/* Diagonal corner accent */
.corner-accent {
    position: relative;
    overflow: hidden;
}

.corner-accent::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, transparent 50%, rgba(13, 148, 136, 0.08) 50%);
    pointer-events: none;
}

/* Fluency signature gradient bar - for cards and sections */
.fluency-bar {
    position: relative;
}

.fluency-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--primary-teal) 0%,
        var(--secondary-blue) 50%,
        var(--secondary-cyan) 100%);
}

.fluency-bar-top::after {
    bottom: auto;
    top: 0;
}

/* Decorative dot grid pattern */
.dot-pattern {
    position: relative;
}

.dot-pattern::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(13, 148, 136, 0.15) 2px, transparent 2px);
    background-size: 12px 12px;
    pointer-events: none;
    z-index: 0;
}

/* Quote mark signature */
.quote-mark::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 6rem;
    color: rgba(13, 148, 136, 0.1);
    line-height: 1;
    pointer-events: none;
}

/* Subtle glow effect for hero elements */
.fluency-glow {
    position: relative;
}

.fluency-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }

    .stagger-children > * {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   AUTH LINKS & LOGIN/SIGNUP MODALS
   ============================================ */

/* Auth links in header (low-key text style) */
.auth-links {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    right: 0;
}

.auth-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: none !important;
}

.auth-link:hover {
    color: var(--clean-white);
}

.auth-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

/* User menu dropdown (logged in state) */
.user-menu-container {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: var(--clean-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1001;
    overflow: hidden;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: none;
}

.user-dropdown a:hover {
    background: var(--off-white);
    color: var(--primary-teal);
}

.user-dropdown a svg {
    color: var(--muted-gray);
    flex-shrink: 0;
}

.user-dropdown a:hover svg {
    color: var(--primary-teal);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 4px 0;
}

.user-dropdown .logout-link {
    color: #ef4444;
}

.user-dropdown .logout-link:hover {
    background: #fef2f2;
    color: #dc2626;
}

.user-dropdown .logout-link svg {
    color: #ef4444;
}

.dropdown-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.dropdown-close:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Mobile auth links in mobile menu */
.mobile-auth-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-auth-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1rem !important;
    padding: 12px 20px !important;
    text-align: center;
    transition: color 0.2s ease;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.mobile-auth-links a:hover {
    color: var(--primary-teal) !important;
}

.mobile-auth-links a.logout {
    color: rgba(239, 68, 68, 0.7) !important;
    margin-top: 8px;
}

.mobile-auth-links a.logout:hover {
    color: #ef4444 !important;
}

/* Modal styles */
.fluency-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fluency-modal.active {
    opacity: 1;
    visibility: visible;
}

.fluency-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.fluency-modal-content {
    position: relative;
    background: var(--clean-white);
    border-radius: 16px;
    padding: 40px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.fluency-modal.active .fluency-modal-content {
    transform: scale(1) translateY(0);
}

.fluency-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.fluency-modal-close:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.fluency-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.fluency-modal-header h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.fluency-modal-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.fluency-form-group {
    margin-bottom: 20px;
}

.fluency-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fluency-form-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--off-white);
    color: var(--text-primary);
    transition: all 0.25s ease;
}

.fluency-form-group input:focus {
    border-color: var(--primary-teal);
    background: var(--clean-white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.fluency-form-group input::placeholder {
    color: var(--muted-gray);
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted-gray);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--text-secondary);
}

.fluency-error {
    color: #ef4444;
    font-size: 13px;
    margin-bottom: 15px;
    text-align: center;
    min-height: 18px;
}

.fluency-success {
    color: var(--primary-teal);
    font-size: 13px;
    margin-bottom: 15px;
    text-align: center;
    min-height: 18px;
}

.fluency-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--primary-teal);
    color: var(--clean-white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.fluency-submit-btn:hover {
    background: var(--primary-teal-bold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.fluency-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .section {
        padding: 60px 20px;
    }
}

@media (max-width: 1024px) {
    header.fluency-header {
        padding: 15px 20px !important;
    }

    header.fluency-header.scrolled {
        padding: 10px 20px !important;
    }

    .fluency-nav {
        display: none;
    }

    /* Hide auth links on mobile - they're in mobile menu */
    .auth-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 2.5rem;
        padding: 15px;
        opacity: 0.45;
    }

    img.fluency-logo {
        height: 65px;
        max-height: 65px;
    }

    .fluency-header.scrolled img.fluency-logo {
        height: 50px;
        max-height: 50px;
    }

    .fluency-header-content > a:first-child {
        position: static;
    }

    .fluency-header-content {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 15px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 40px 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
