/* ============================================
   AGHA Corporate Website - Design System
   ============================================ */

/* CSS Custom Properties - Design Tokens (Meta-inspired) */
:root {
    /* Brand Colors - Maintaining AGHA's identity */
    --color-primary-blue: #2F80FF;
    --color-secondary-purple: #8B5CF6;
    --color-deep-navy: #0B0F3B;
    --color-white: #FFFFFF;
    --color-soft-gray: #F5F7FA;
    
    /* Additional Colors for Premium Feel */
    --color-text-primary: #1C2E45;
    --color-text-secondary: #546B7F;
    --color-border: #E4E6EB;
    --color-surface: #FFFFFF;
    --color-surface-secondary: #F0F2F5;
    --color-surface-tertiary: #F7F8FA;
    
    /* Gradient */
    --gradient-primary: linear-gradient(90deg, #2F80FF 0%, #8B5CF6 100%);
    --gradient-subtle: linear-gradient(135deg, #F5F7FA 0%, #FFFFFF 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Spacing System (8px base) - Enhanced */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-7: 56px;
    --space-8: 64px;
    --space-9: 72px;
    --space-10: 80px;
    --space-12: 96px;
    --space-14: 112px;
    --space-16: 128px;
    --space-20: 160px;
    --space-24: 192px;
    --space-32: 256px;
    
    /* Border Radius - More refined */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Layout - Meta-inspired */
    --max-width: 1440px;
    --content-width: 1200px;
    --container-padding: 24px;
    --navbar-height: 70px;
    --navbar-height-mobile: 60px;
    --hero-top-space: clamp(88px, 9vh, 120px);
    --hero-bottom-space: clamp(64px, 8vh, 96px);
    
    /* Transitions - Smoother */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows - More subtle and refined */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 24px 96px rgba(0, 0, 0, 0.18);
    
    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-tooltip: 600;
    
    /* Breakpoints */
    --breakpoint-xs: 480px;
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
}

/* ============================================
   Reset & Base Styles (Meta-inspired)
   ============================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-primary);
    line-height: 1.5;
    color: var(--color-text-primary);
    background-color: var(--color-surface);
    overflow-x: hidden;
    position: relative;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
}

/* Purple Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 150vw;
    height: 150vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: purplePulse 8s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes purplePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

/* ============================================
   Typography (Meta-inspired)
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--space-2);
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: var(--font-weight-bold);
}

h3 {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: var(--font-weight-semibold);
}

h4 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: var(--font-weight-semibold);
}

h5 {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    font-weight: var(--font-weight-medium);
}

h6 {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: var(--font-weight-medium);
}

p {
    margin-bottom: var(--space-3);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

a {
    color: var(--color-primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: var(--font-weight-medium);
}

a:hover {
    color: var(--color-secondary-purple);
}

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

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* ============================================
   Layout Utilities
   ============================================ */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    overflow-x: hidden;
}

.container--content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    overflow-x: hidden;
}

.grid {
    display: grid;
    gap: var(--space-5);
    width: 100%;
}

.grid--12 {
    grid-template-columns: repeat(12, 1fr);
}

.grid--6 {
    grid-template-columns: repeat(6, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

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

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

.flex {
    display: flex;
}

.flex--center {
    align-items: center;
    justify-content: center;
}

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

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

.flex--wrap {
    flex-wrap: wrap;
}

.flex--gap-2 {
    gap: var(--space-2);
}

.flex--gap-3 {
    gap: var(--space-3);
}

.flex--gap-4 {
    gap: var(--space-4);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.mb-2 {
    margin-bottom: var(--space-2);
}

.mb-3 {
    margin-bottom: var(--space-3);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mt-2 {
    margin-top: var(--space-2);
}

.mt-3 {
    margin-top: var(--space-3);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

/* ============================================
   Section Styles (Meta-inspired)
   ============================================ */

.section {
    padding: var(--space-10) 0;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.section--hero {
    padding: calc(var(--hero-top-space) + 42px) 0 var(--hero-bottom-space);
    width: 100%;
    overflow-x: hidden;
    position: relative;
    min-height: clamp(360px, 42vh, 640px);
    display: flex;
    align-items: center;
}

.section--compact {
    padding: var(--space-6) 0;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-7);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section__title {
    margin-bottom: var(--space-3);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.section__subtitle {
    font-size: 0.8125rem;
    color: var(--color-primary-blue);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-2);
}

.section__description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   Hero Section (Meta-inspired)
   ============================================ */

.hero__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

.hero__content {
    max-width: 600px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding-top: var(--space-2);
}

.hero__content h1 {
    margin-bottom: var(--space-4);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero__description {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-6);
    max-width: 700px;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__graphic-img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(47, 128, 255, 0.15));
    border-radius: 50%;
    object-fit: cover;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   Button Styles (Meta-inspired)
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2) var(--space-4);
    font-size: 0.9375rem;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    gap: var(--space-2);
    position: relative;
    overflow: hidden;
    white-space: normal;
    text-align: center;
    min-height: 44px;
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--secondary {
    background: var(--color-surface-secondary);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn--secondary:hover {
    background: var(--color-surface-tertiary);
    border-color: var(--color-text-secondary);
}

.btn--large {
    padding: var(--space-3) var(--space-6);
    font-size: 1rem;
}

.btn--small {
    padding: var(--space-2) var(--space-3);
    font-size: 0.875rem;
}

.btn--text {
    background: transparent;
    color: var(--color-primary-blue);
    padding: 0;
    box-shadow: none;
}

.btn--text:hover {
    background: transparent;
    color: var(--color-secondary-purple);
    transform: none;
    box-shadow: none;
}

/* ============================================
   Card Styles (Meta-inspired)
   ============================================ */

.card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-blue);
}

.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
    font-size: 1.25rem;
    color: var(--color-white);
    flex-shrink: 0;
}

/* Logo placeholder for product cards */
.logo-placeholder {
    width: 100%;
    height: 100px;
    border-radius: var(--radius-md);
    border: 2px dashed rgba(47, 128, 255, 0.3);
    background: linear-gradient(135deg, rgba(47, 128, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.logo-placeholder:hover {
    border-color: rgba(47, 128, 255, 0.5);
    background: linear-gradient(135deg, rgba(47, 128, 255, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
}

@media (max-width: 768px) {
    .logo-placeholder {
        height: 80px;
    }
}

.card__image {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin-bottom: var(--space-3);
    flex-shrink: 0;
}

.card__title {
    margin-bottom: var(--space-2);
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
}

.card__description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-3);
    line-height: 1.5;
    flex-grow: 1;
}

.card__link {
    color: var(--color-primary-blue);
    font-weight: var(--font-weight-semibold);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    transition: gap var(--transition-fast);
}

.card__link:hover {
    gap: var(--space-2);
    color: var(--color-secondary-purple);
}

#future .card div[style*="display: flex; gap: var(--space-2)"] {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2) !important;
}

#future .card div[style*="display: flex; gap: var(--space-2)"] .btn {
    width: 100%;
    min-height: 44px;
    flex: none !important;
    white-space: normal;
    line-height: 1.35;
}

/* ============================================
   Navigation (Meta-inspired)
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.navbar--scrolled {
    box-shadow: var(--shadow-xs);
    background: rgba(255, 255, 255, 0.98);
}

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--container-padding);
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: var(--navbar-height);
}

.navbar__logo {
    font-size: 1.25rem;
    font-weight: var(--font-weight-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    list-style: none;
    margin-left: var(--space-6);
}

.navbar__link {
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    position: relative;
    padding: var(--space-2) 0;
    transition: color var(--transition-fast);
    font-size: 0.875rem;
    white-space: nowrap;
}

.navbar__link:hover {
    color: var(--color-primary-blue);
}

.navbar__link--active {
    color: var(--color-primary-blue);
    font-weight: var(--font-weight-semibold);
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: var(--space-2);
    background: transparent;
    border: none;
}

.navbar__toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

.navbar__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
}

.navbar__overlay--active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Language Switcher
   ============================================ */

.language-switcher {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--color-surface-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-1);
    border: 1px solid var(--color-border);
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.25rem;
    transition: all var(--transition-fast);
    opacity: 0.5;
    user-select: none;
    -webkit-user-select: none;
}

.lang-btn:hover {
    opacity: 0.75;
}

.lang-btn.active {
    background: var(--color-white);
    box-shadow: var(--shadow-xs);
    opacity: 1;
}

/* ============================================
   Footer (Meta-inspired)
   ============================================ */

.footer {
    background: var(--color-deep-navy);
    color: var(--color-white);
    padding: var(--space-8) 0 var(--space-4);
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}

.footer__brand {
    grid-column: span 1;
}

.footer__brand .logo-image {
    width: 100px;
    height: 100px;
    border-width: 3px;
    padding: 6px;
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2);
    font-size: 0.9375rem;
}

.footer__nav {
    list-style: none;
}

.footer__nav-title {
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--color-white);
    font-size: 1rem;
}

.footer__nav-item {
    margin-bottom: var(--space-1);
}

.footer__nav-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
    font-size: 0.9375rem;
}

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

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer__social {
    display: flex;
    gap: var(--space-2);
}

.footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition-base);
}

.footer__social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

/* ============================================
   Form Styles
   ============================================ */

.form {
    max-width: 500px;
    margin: 0 auto;
}

.form__group {
    margin-bottom: var(--space-3);
    position: relative;
}

.form__label {
    display: block;
    margin-bottom: var(--space-1);
    font-weight: 500;
    color: var(--color-deep-navy);
    font-size: 0.9375rem;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    background: var(--color-white);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-primary-blue);
    box-shadow: 0 0 0 4px rgba(47, 128, 255, 0.1);
}

.form__textarea {
    min-height: 120px;
    resize: vertical;
}

.form__error {
    color: #EF4444;
    font-size: 0.8125rem;
    margin-top: var(--space-1);
    display: none;
}

.form__group--error .form__error {
    display: block;
}

.form__group--error .form__input,
.form__group--error .form__textarea {
    border-color: #EF4444;
}

/* ============================================
   Utility Classes
   ============================================ */

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

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

.bg-gradient {
    background: var(--gradient-primary);
}

.bg-soft-gray {
    background-color: var(--color-soft-gray);
}

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }

/* ============================================
   Loading Animation
   ============================================ */

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loading--hidden {
    opacity: 0;
    visibility: hidden;
}

.loading__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-soft-gray);
    border-top-color: var(--color-primary-blue);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

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

/* ============================================
   Back to Top Button
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: var(--space-4);
    right: var(--space-4);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-lg);
}

.back-to-top--visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-2px);
}

/* ============================================
   Scroll Progress Indicator
   ============================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: var(--z-tooltip);
    transition: width var(--transition-fast);
}

/* ============================================
   Logo Styles
   ============================================ */

.logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.logo-badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary-blue);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(47, 128, 255, 0.3);
}

.logo-image {
    width: 120px;
    height: 120px;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    border: 4px solid var(--color-primary-blue);
    padding: 8px;
    background: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-image {
        width: 100px;
        height: 100px;
        border-width: 3px;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        width: 80px;
        height: 80px;
        border-width: 3px;
        padding: 5px;
    }
}

/* Loading screen logo */
.loading-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo-image {
    width: 150px;
    height: 150px;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    border: 4px solid var(--color-primary-blue);
    padding: 10px;
    background: white;
}
