/* Fluency Digital Beta Site - Global Styles */
/* Last updated: December 2025 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Primary Colors */
    --primary-teal: #14b8a6;
    --secondary-blue: #0891b2;
    --light-cyan: #06b6d4;

    /* Neutrals */
    --primary-black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #374151;
    --light-gray: #666666;
    --muted-gray: #9ca3af;
    --border-light: #e0e0e0;

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

    /* 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));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--medium-gray);
    background: var(--clean-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

.fluency-header.scrolled {
    padding: 20px 45px;
    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;
}

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

.fluency-header.scrolled .fluency-logo {
    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,
.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: center;
    gap: 30px;
}

.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
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--clean-white);
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
    background: var(--clean-white);
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.btn-secondary {
    background: var(--primary-black);
    color: var(--clean-white);
    border-color: var(--primary-black);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: var(--clean-white);
    color: var(--primary-black);
}

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

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

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

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

.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-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.2;
}

.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
   ============================================ */
.card {
    background: var(--clean-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   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);
}

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

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

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

    .fluency-nav {
        display: none;
    }

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

    .fluency-logo {
        height: 65px;
    }

    .fluency-header.scrolled .fluency-logo {
        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;
    }
}
