/* ========================================
   FOREXCHANGE CSS BUNDLE
   ========================================
   Об'єднаний файл базових/спільних стилів
   для оптимізації завантаження сторінки.
   
   Порядок секцій:
   1. Reset Styles
   2. CSS Variables
   3. Base Styles
   4. Utilities
   5. Components - Buttons
   6. Components - Cards
   7. Components - Forms
   8. Animations
   9. Global Styles (Header, Footer, etc.)
   ======================================== */


/* ========================================
   RESET STYLES
   ======================================== */

/* ===== CSS RESET / NORMALIZE ===== */
/* Modern CSS Reset based on best practices */

/* CRITICAL: Set white background immediately to prevent flash */
html {
    background-color: #FFFFFF;
}

body {
    background-color: #FFFFFF;
}

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin and padding */
* {
    margin: 0;
    padding: 0;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Remove default button styles */
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* Remove default list styles */
ul,
ol {
    list-style: none;
}

/* Remove default link styles */
a {
    text-decoration: none;
    color: inherit;
}

/* Remove default fieldset styles */
fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* Remove default legend styles */
legend {
    padding: 0;
}

/* Remove default table styles */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove default hr styles */
hr {
    border: none;
    height: 1px;
    background-color: currentColor;
    opacity: 0.2;
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Remove built-in form typography styles */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

/* Fix appearance for form elements */
input,
textarea,
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Remove spinner from number inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* Remove clear button from search inputs */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

/* Correct the cursor style of increment and decrement buttons in Safari */
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

/* Correct the outline style in Safari */
[type="search"] {
    outline-offset: -2px;
}

/* Remove the inner padding in Chrome and Safari on macOS */
::-webkit-search-decoration {
    -webkit-appearance: none;
}

/* Correct the inability to style clickable types in iOS and Safari */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive elements */
details {
    display: block;
}

summary {
    display: list-item;
    cursor: pointer;
}

/* Hidden attribute */
[hidden] {
    display: none !important;
}

/* Disabled state */
[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--color-primary, #FF6B35);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}


/* ========================================
   CSS VARIABLES
   ======================================== */

/* ===== CSS VARIABLES ===== */
/* ForexChange Design System */
/* Кольорова палітра: ТІЛЬКИ 3 кольори */

:root {
    /* ===== КОЛЬОРИ (3 основні) ===== */
    
    /* Primary - Помаранчевий */
    --color-primary: #FF6B35;
    --color-primary-light: #FF8F66;
    --color-primary-dark: #E55A2B;
    
    /* Dark - Темно-синій/чорний */
    --color-dark: #1A1A2E;
    --color-dark-lighter: #2D2D4A;
    
    /* Light - Білий */
    --color-light: #FFFFFF;
    --color-white: #FFFFFF;
    --color-background: #FFFFFF;
    --color-surface: #FFFFFF;
    
    /* Текст - базується на 3 кольорах */
    --color-text-primary: #1A1A2E;      /* Dark */
    --color-text-secondary: #4A4A5A;    /* Трохи світліший dark */
    --color-text-muted: #6A6A7A;        /* Ще світліший */
    --color-text-inverse: #FFFFFF;      /* Light на темному фоні */
    
    /* Градієнти - тільки з основних кольорів */
    --gradient-blob-1: linear-gradient(135deg, rgba(255, 107, 53, 0.3) 0%, rgba(255, 143, 102, 0.2) 100%);
    --gradient-blob-2: linear-gradient(135deg, rgba(26, 26, 46, 0.1) 0%, rgba(45, 45, 74, 0.05) 100%);
    --gradient-blob-3: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
    
    /* Glassmorphism */
    --glass-background: rgba(255, 255, 255, 0.85);
    --glass-background-light: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-border-dark: rgba(26, 26, 46, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(26, 26, 46, 0.1);
    
    /* ===== ТИПОГРАФІКА ===== */
    
    /* Шрифти */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', var(--font-primary);
    
    /* Розміри шрифтів */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */
    
    /* Висота рядка */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    
    /* Вага шрифту */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* ===== ВІДСТУПИ (Spacing) ===== */
    
    --space-1: 0.25rem;      /* 4px */
    --space-2: 0.5rem;       /* 8px */
    --space-3: 0.75rem;      /* 12px */
    --space-4: 1rem;         /* 16px */
    --space-5: 1.25rem;      /* 20px */
    --space-6: 1.5rem;       /* 24px */
    --space-8: 2rem;         /* 32px */
    --space-10: 2.5rem;      /* 40px */
    --space-12: 3rem;        /* 48px */
    --space-16: 4rem;        /* 64px */
    --space-20: 5rem;        /* 80px */
    --space-24: 6rem;        /* 96px */
    
    /* Секційні відступи */
    --section-padding-y: var(--space-20);
    --section-padding-x: var(--space-6);
    
    /* ===== РОЗМІРИ ===== */
    
    /* Контейнер */
    --container-max-width: 1200px;
    --container-padding: var(--space-6);
    
    /* ===== BORDER RADIUS ===== */
    
    --radius-sm: 0.25rem;    /* 4px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;   /* Повністю круглий */
    
    /* ===== ТІНІ ===== */
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Тінь для карток */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    /* ===== ПЕРЕХОДИ ===== */
    
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* ===== Z-INDEX ===== */
    /* Система z-index для проекту:
     * 0-10   - базові елементи (blobs, backgrounds)
     * 10-20  - контент (main, sections)
     * 50     - header-placeholder
     * 80     - mobile-nav-overlay
     * 90     - mobile-nav
     * 100    - header (fixed)
     * 150    - mobile-menu-btn
     * 200    - skip-link, tooltips
     */
    
    --z-base: 1;
    --z-content: 10;
    --z-header-placeholder: 50;
    --z-mobile-overlay: 80;
    --z-mobile-nav: 90;
    --z-header: 100;
    --z-mobile-btn: 150;
    --z-dropdown: 120;
    --z-sticky: 100;
    --z-fixed: 100;
    --z-modal-backdrop: 180;
    --z-modal: 190;
    --z-tooltip: 200;
}


/* ========================================
   BASE STYLES
   ======================================== */

/* ===== BASE STYLES ===== */
/* Core typography and body styles */

/* HTML & Body */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    line-height: var(--leading-normal);
    color: var(--color-text-primary);
    background-color: var(--color-background);
    overflow-x: hidden;
}

/* ===== PAGE LOADING OPTIMIZATION ===== */
/* Skeleton placeholders for header and footer - instant visual feedback */

/* Header Skeleton - shows immediately while real header loads */
.header-skeleton {
    height: 80px;
    background: #FFFFFF;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header, 1000);
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-skeleton::before {
    content: '';
    width: 150px;
    height: 32px;
    background: linear-gradient(90deg,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.08) 50%,
        rgba(0,0,0,0.05) 100%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 4px;
}

.header-skeleton::after {
    content: '';
    position: absolute;
    right: 20px;
    width: 200px;
    height: 24px;
    background: linear-gradient(90deg,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.08) 50%,
        rgba(0,0,0,0.05) 100%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite 0.2s;
    border-radius: 4px;
}

/* Header skeleton spacer */
.header-skeleton + main,
.header-skeleton ~ main {
    padding-top: 80px;
}

/* Footer Skeleton */
.footer-skeleton {
    min-height: 300px;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-skeleton::before {
    content: '';
    width: 200px;
    height: 40px;
    background: linear-gradient(90deg,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.08) 50%,
        rgba(0,0,0,0.05) 100%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Smooth transition when content loads */
#header-placeholder,
#footer-placeholder {
    transition: opacity 0.15s ease-out;
}

#header-placeholder:not(.header-skeleton),
#footer-placeholder:not(.footer-skeleton) {
    opacity: 1;
}

/* ===== GLOBAL BACKGROUND BLOBS ===== */
main {
    position: relative;
    background-color: var(--color-background);
    z-index: var(--z-content, 10);
}

main::before,
main::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

main::before {
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: var(--gradient-blob-1);
    animation: globalBlobMove 30s ease-in-out infinite;
}

main::after {
    bottom: -200px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: var(--gradient-blob-3);
    animation: globalBlobMove 25s ease-in-out infinite reverse;
}

@keyframes globalBlobMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -20px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

/* ===== TYPOGRAPHY ===== */

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

/* Mobile headings (320px - 480px) */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem; /* 32px */
    }

    h2 {
        font-size: 1.5rem; /* 24px */
    }

    h3 {
        font-size: 1.25rem; /* 20px */
    }

    h4 {
        font-size: 1.125rem; /* 18px */
    }
}

/* Responsive headings */
@media (min-width: 768px) {
    h1 {
        font-size: var(--text-5xl);
    }

    h2 {
        font-size: var(--text-4xl);
    }

    h3 {
        font-size: var(--text-3xl);
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: var(--text-6xl);
    }

    h2 {
        font-size: var(--text-5xl);
    }
}

/* Paragraphs */
p {
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

p:last-child {
    margin-bottom: 0;
}

/* Lead paragraph */
.lead {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
    .lead {
        font-size: var(--text-xl);
    }
}

/* Small text */
small,
.small {
    font-size: var(--text-sm);
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

/* Strong & Bold */
strong,
b {
    font-weight: var(--font-semibold);
}

/* Emphasis & Italic */
em,
i {
    font-style: italic;
}

/* Lists */
ul,
ol {
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
}

li {
    margin-bottom: var(--space-2);
}

/* Blockquote */
blockquote {
    margin: var(--space-6) 0;
    padding: var(--space-4) var(--space-6);
    border-left: 4px solid var(--color-primary);
    background-color: var(--color-surface);
    font-style: italic;
    color: var(--color-text-secondary);
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* Code */
code {
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.875em;
    padding: var(--space-1) var(--space-2);
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-sm);
}

pre {
    margin: var(--space-4) 0;
    padding: var(--space-4);
    background-color: var(--color-text-primary);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow-x: auto;
}

pre code {
    padding: 0;
    background-color: transparent;
    color: inherit;
}

/* Horizontal Rule */
hr {
    margin: var(--space-8) 0;
    border: none;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

/* ===== LAYOUT ===== */

/* Container - фіксована ширина 1200px */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Container responsive padding */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

/* Section */
.section {
    position: relative;
    z-index: var(--z-base, 1);
    padding: 80px 0;
}

.section-sm {
    padding: 48px 0;
}

.section-lg {
    padding: 100px 0;
}

/* Responsive section padding */
@media (max-width: 767px) {
    .section {
        padding: 60px 0;
    }
    
    .section-sm {
        padding: 40px 0;
    }
    
    .section-lg {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 48px 0;
    }
    
    .section-sm {
        padding: 32px 0;
    }
    
    .section-lg {
        padding: 60px 0;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-12);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: var(--text-xl);
    }
}

/* ===== SELECTION ===== */

::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

::-moz-selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ===== SCROLLBAR ===== */

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-background);
}

::-webkit-scrollbar-thumb {
    background: var(--color-text-muted);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-secondary);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-text-muted) var(--color-background);
}

/* ===== ACCESSIBILITY ===== */

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-3) var(--space-6);
    z-index: var(--z-tooltip, 200);
    transition: top var(--transition-fast);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-weight: var(--font-semibold);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
}

.skip-link:focus {
    top: 0;
    outline: none;
    color: var(--color-white);
}

/* Screen reader only */
.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;
}

/* Focus visible styles for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* Remove default focus for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* Enhanced focus for interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Focus within for form groups */
.form-group:focus-within {
    outline: none;
}

.form-group:focus-within .form-label {
    color: var(--color-primary);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :focus-visible {
        outline: 3px solid currentColor;
        outline-offset: 3px;
    }
}

/* 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;
        scroll-behavior: auto !important;
    }
}

/* ===== IMAGES ===== */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive images */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Rounded images */
.img-rounded {
    border-radius: var(--radius-lg);
}

.img-circle {
    border-radius: var(--radius-full);
}


/* ========================================
   UTILITIES
   ======================================== */

/* ===== UTILITY CLASSES ===== */
/* Reusable utility classes for rapid development */

/* ===== FLEXBOX ===== */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1; }
.flex-auto { flex: auto; }
.flex-none { flex: none; }

/* Align Items */
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

/* Justify Content */
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

/* Align Self */
.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.self-end { align-self: flex-end; }
.self-stretch { align-self: stretch; }

/* Gap */
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-10 { gap: var(--space-10); }
.gap-12 { gap: var(--space-12); }

/* ===== GRID ===== */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
.grid-cols-12 { grid-template-columns: repeat(12, 1fr); }

/* Responsive Grid */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .lg\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
}

/* ===== TEXT ===== */

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Text Size */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-6xl { font-size: var(--text-6xl); }

/* Font Weight */
.font-light { font-weight: var(--font-light); }
.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

/* Text Color */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: var(--color-white); }
.text-dark { color: var(--color-text-primary); }

/* Text Transform */
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }

/* Text Decoration */
.underline { text-decoration: underline; }
.line-through { text-decoration: line-through; }
.no-underline { text-decoration: none; }

/* Line Height */
.leading-none { line-height: 1; }
.leading-tight { line-height: var(--leading-tight); }
.leading-normal { line-height: var(--leading-normal); }
.leading-relaxed { line-height: var(--leading-relaxed); }

/* Letter Spacing */
.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }

/* Text Wrap */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.break-words { word-wrap: break-word; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-normal { white-space: normal; }

/* ===== SPACING ===== */

/* Margin */
.m-0 { margin: 0; }
.m-1 { margin: var(--space-1); }
.m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); }
.m-4 { margin: var(--space-4); }
.m-6 { margin: var(--space-6); }
.m-8 { margin: var(--space-8); }
.m-auto { margin: auto; }

/* Margin X (horizontal) */
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-0 { margin-left: 0; margin-right: 0; }
.mx-2 { margin-left: var(--space-2); margin-right: var(--space-2); }
.mx-4 { margin-left: var(--space-4); margin-right: var(--space-4); }
.mx-6 { margin-left: var(--space-6); margin-right: var(--space-6); }

/* Margin Y (vertical) */
.my-0 { margin-top: 0; margin-bottom: 0; }
.my-2 { margin-top: var(--space-2); margin-bottom: var(--space-2); }
.my-4 { margin-top: var(--space-4); margin-bottom: var(--space-4); }
.my-6 { margin-top: var(--space-6); margin-bottom: var(--space-6); }
.my-8 { margin-top: var(--space-8); margin-bottom: var(--space-8); }

/* Margin Top */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }

/* Margin Bottom */
.mb-0 { margin-bottom: 0; }
.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); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }

/* Margin Left */
.ml-0 { margin-left: 0; }
.ml-2 { margin-left: var(--space-2); }
.ml-4 { margin-left: var(--space-4); }
.ml-auto { margin-left: auto; }

/* Margin Right */
.mr-0 { margin-right: 0; }
.mr-2 { margin-right: var(--space-2); }
.mr-4 { margin-right: var(--space-4); }
.mr-auto { margin-right: auto; }

/* Padding */
.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.p-10 { padding: var(--space-10); }
.p-12 { padding: var(--space-12); }

/* Padding X (horizontal) */
.px-0 { padding-left: 0; padding-right: 0; }
.px-2 { padding-left: var(--space-2); padding-right: var(--space-2); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }

/* Padding Y (vertical) */
.py-0 { padding-top: 0; padding-bottom: 0; }
.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-10 { padding-top: var(--space-10); padding-bottom: var(--space-10); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }

/* Padding Top */
.pt-0 { padding-top: 0; }
.pt-4 { padding-top: var(--space-4); }
.pt-8 { padding-top: var(--space-8); }

/* Padding Bottom */
.pb-0 { padding-bottom: 0; }
.pb-4 { padding-bottom: var(--space-4); }
.pb-8 { padding-bottom: var(--space-8); }

/* ===== SIZING ===== */

/* Width */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-screen { width: 100vw; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }

/* Max Width */
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-full { max-width: 100%; }
.max-w-screen { max-width: 100vw; }

/* Height */
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }

/* ===== DISPLAY ===== */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }

/* Responsive Display */
@media (min-width: 640px) {
    .sm\:hidden { display: none; }
    .sm\:block { display: block; }
    .sm\:flex { display: flex; }
}

@media (min-width: 768px) {
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:inline-block { display: inline-block; }
}

@media (min-width: 1024px) {
    .lg\:hidden { display: none; }
    .lg\:block { display: block; }
    .lg\:flex { display: flex; }
    .lg\:inline-block { display: inline-block; }
}

/* ===== POSITIONING ===== */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.static { position: static; }

/* Position Values */
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

/* ===== OVERFLOW ===== */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }
.overflow-visible { overflow: visible; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* ===== Z-INDEX ===== */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-dropdown { z-index: var(--z-dropdown); }
.z-sticky { z-index: var(--z-sticky); }
.z-fixed { z-index: var(--z-fixed); }
.z-modal { z-index: var(--z-modal); }

/* ===== BACKGROUND ===== */
.bg-white { background-color: var(--color-white); }
.bg-surface { background-color: var(--color-surface); }
.bg-background { background-color: var(--color-background); }
.bg-primary { background-color: var(--color-primary); }
.bg-transparent { background-color: transparent; }

/* ===== BORDER ===== */
.border { border: 1px solid rgba(0, 0, 0, 0.1); }
.border-0 { border: 0; }
.border-t { border-top: 1px solid rgba(0, 0, 0, 0.1); }
.border-b { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.border-primary { border-color: var(--color-primary); }

/* Border Radius */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-md); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ===== SHADOW ===== */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

/* ===== OPACITY ===== */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* ===== CURSOR ===== */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }

/* ===== POINTER EVENTS ===== */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* ===== USER SELECT ===== */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }

/* ===== TRANSITIONS ===== */
.transition { transition: all var(--transition-normal); }
.transition-fast { transition: all var(--transition-fast); }
.transition-slow { transition: all var(--transition-slow); }
.transition-none { transition: none; }

/* ===== OBJECT FIT ===== */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-fill { object-fit: fill; }
.object-center { object-position: center; }

/* ===== VISIBILITY ===== */
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* ===== LIST STYLE ===== */
.list-none { list-style: none; }
.list-disc { list-style: disc; }
.list-decimal { list-style: decimal; }


/* ========================================
   COMPONENTS - BUTTONS
   ======================================== */

/* ===== BUTTON STYLES ===== */
/* Button components for ForexChange */

/* ===== BASE BUTTON ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    line-height: 1;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== BUTTON VARIANTS ===== */

/* Primary - filled orange */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

/* Secondary - outlined */
.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Ghost - transparent */
.btn-ghost {
    background-color: transparent;
    color: var(--color-text-primary);
    border-color: transparent;
}

.btn-ghost:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.btn-ghost:active {
    background-color: rgba(0, 0, 0, 0.1);
}

/* White - for dark backgrounds */
.btn-white {
    background-color: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Dark - dark button */
.btn-dark {
    background-color: var(--color-text-primary);
    color: var(--color-white);
    border-color: var(--color-text-primary);
}

.btn-dark:hover {
    background-color: #2a2a4a;
    border-color: #2a2a4a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Link style button */
.btn-link {
    background-color: transparent;
    color: var(--color-primary);
    border-color: transparent;
    padding: 0;
    text-decoration: underline;
}

.btn-link:hover {
    color: var(--color-primary-dark);
    text-decoration: none;
}

/* Glass button */
.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ===== BUTTON SIZES ===== */

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
    border-radius: var(--radius-xl);
}

.btn-xl {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-xl);
    border-radius: var(--radius-xl);
}

/* ===== BUTTON WITH ICON ===== */

.btn i,
.btn .icon {
    font-size: 1.1em;
    transition: transform var(--transition-fast);
}

/* Icon only button */
.btn-icon {
    padding: var(--space-3);
    border-radius: var(--radius-full);
    width: 44px;
    height: 44px;
}

.btn-icon.btn-sm {
    padding: var(--space-2);
    width: 36px;
    height: 36px;
}

.btn-icon.btn-lg {
    padding: var(--space-4);
    width: 52px;
    height: 52px;
}

/* Icon animation on hover */
.btn:hover i,
.btn:hover .icon {
    transform: translateX(2px);
}

.btn-icon:hover i,
.btn-icon:hover .icon {
    transform: scale(1.1);
}

/* ===== BUTTON STATES ===== */

/* Loading state */
.btn.loading {
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
}

.btn-primary.loading::after,
.btn-white.loading::after {
    border-color: var(--color-white);
    border-right-color: transparent;
}

/* Full width button */
.btn-block {
    display: flex;
    width: 100%;
}

/* ===== BUTTON GROUP ===== */

.btn-group {
    display: inline-flex;
    gap: 0;
}

.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.btn-group .btn:last-child {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.btn-group .btn:not(:last-child) {
    border-right-width: 1px;
}

/* ===== SOCIAL BUTTONS ===== */

.btn-social {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
    font-size: var(--text-lg);
}

.btn-facebook {
    background-color: #1877F2;
    color: var(--color-white);
    border-color: #1877F2;
}

.btn-facebook:hover {
    background-color: #166FE5;
    border-color: #166FE5;
}

.btn-twitter {
    background-color: #1DA1F2;
    color: var(--color-white);
    border-color: #1DA1F2;
}

.btn-twitter:hover {
    background-color: #1A91DA;
    border-color: #1A91DA;
}

.btn-linkedin {
    background-color: #0A66C2;
    color: var(--color-white);
    border-color: #0A66C2;
}

.btn-linkedin:hover {
    background-color: #095196;
    border-color: #095196;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--color-white);
    border-color: transparent;
}

.btn-instagram:hover {
    opacity: 0.9;
}

/* ===== FLOATING ACTION BUTTON ===== */

.btn-fab {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-fixed);
}

.btn-fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-2xl);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 640px) {
    .btn {
        padding: var(--space-3) var(--space-5);
    }
    
    .btn-lg {
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-base);
    }
    
    /* Stack buttons on mobile */
    .btn-stack-mobile {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-stack-mobile .btn {
        width: 100%;
    }
}


/* ========================================
   COMPONENTS - CARDS
   ======================================== */

/* ===== CARD STYLES ===== */
/* Card components for ForexChange including glassmorphism */

/* ===== BASE CARD ===== */
.card {
    background-color: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.card-body {
    padding: var(--space-6);
}

.card-header {
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-footer {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(0, 0, 0, 0.02);
}

.card-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
}

.card-subtitle {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-3);
}

.card-text {
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

/* ===== CARD WITH IMAGE ===== */
.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-image-top {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.card-image-overlay {
    position: relative;
}

.card-image-overlay .card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--color-white);
}

.card-image-overlay .card-title,
.card-image-overlay .card-text {
    color: var(--color-white);
}

/* ===== GLASSMORPHISM CARDS ===== */

/* Standard glass card */
.glass-card {
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--glass-shadow);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-4px);
}

/* Strong glass effect */
.glass-card-strong {
    background: var(--glass-background-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-2xl);
    box-shadow: var(--glass-shadow);
}

/* Subtle glass */
.glass-card-subtle {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
}

/* Dark glass (for light backgrounds) */
.glass-card-dark {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-2xl);
}

/* Glass with gradient border */
.glass-card-gradient {
    position: relative;
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
}

.glass-card-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ===== TEAM CARD ===== */
.card-team {
    text-align: center;
    padding: var(--space-8) var(--space-6);
}

.card-team-avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin: 0 auto var(--space-4);
    border: 4px solid var(--color-primary);
    transition: transform var(--transition-normal);
}

.card-team:hover .card-team-avatar {
    transform: scale(1.05);
}

.card-team-name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-1);
}

.card-team-role {
    color: var(--color-primary);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-4);
}

.card-team-bio {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.card-team-social {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
}

.card-team-social a {
    color: var(--color-text-muted);
    font-size: var(--text-xl);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.card-team-social a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* ===== FEATURE CARD ===== */
.card-feature {
    padding: var(--space-8);
    text-align: center;
}

.card-feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blob-1);
    border-radius: var(--radius-xl);
    margin: 0 auto var(--space-4);
    color: var(--color-white);
    font-size: var(--text-2xl);
    transition: transform var(--transition-normal);
}

.card-feature:hover .card-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-feature-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
}

.card-feature-text {
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

/* Left-aligned feature card */
.card-feature-left {
    text-align: left;
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
}

.card-feature-left .card-feature-icon {
    margin: 0;
    flex-shrink: 0;
}

.card-feature-left .card-feature-content {
    flex: 1;
}

/* ===== STAT CARD ===== */
.card-stat {
    text-align: center;
    padding: var(--space-6);
}

.card-stat-value {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.card-stat-label {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== PRICING CARD ===== */
.card-pricing {
    text-align: center;
    padding: var(--space-8);
    position: relative;
}

.card-pricing.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
}

.card-pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

.card-pricing-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-4);
}

.card-pricing-price {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.card-pricing-price span {
    font-size: var(--text-lg);
    font-weight: var(--font-normal);
    color: var(--color-text-muted);
}

.card-pricing-features {
    list-style: none;
    padding: 0;
    margin: var(--space-6) 0;
    text-align: left;
}

.card-pricing-features li {
    padding: var(--space-2) 0;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.card-pricing-features li i {
    color: var(--color-primary);
}

/* ===== TESTIMONIAL CARD ===== */
.card-testimonial {
    padding: var(--space-8);
}

.card-testimonial-quote {
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
    position: relative;
    padding-left: var(--space-6);
}

.card-testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: var(--text-5xl);
    color: var(--color-primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.card-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.card-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.card-testimonial-name {
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
}

.card-testimonial-role {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* ===== HORIZONTAL CARD ===== */
.card-horizontal {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .card-horizontal {
        flex-direction: row;
    }
    
    .card-horizontal .card-image {
        width: 40%;
        height: auto;
        min-height: 200px;
    }
    
    .card-horizontal .card-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* ===== CARD VARIANTS ===== */

/* No hover effect */
.card-static:hover {
    transform: none;
    box-shadow: var(--shadow-card);
}

/* Bordered card */
.card-bordered {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: none;
}

.card-bordered:hover {
    border-color: var(--color-primary);
    box-shadow: none;
}

/* Compact card */
.card-compact .card-body {
    padding: var(--space-4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .card-body {
        padding: var(--space-4);
    }
    
    .card-feature,
    .card-team {
        padding: var(--space-6);
    }
    
    .card-team-avatar {
        width: 100px;
        height: 100px;
    }
    
    .card-feature-icon {
        width: 56px;
        height: 56px;
        font-size: var(--text-xl);
    }
}


/* ========================================
   COMPONENTS - FORMS
   ======================================== */

/* ===== FORM STYLES ===== */
/* Form components for ForexChange */

/* ===== FORM GROUP ===== */
.form-group {
    margin-bottom: var(--space-5);
}

.form-group:last-child {
    margin-bottom: 0;
}

/* ===== LABELS ===== */
.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.form-label.required::after {
    content: '*';
    color: #DC3545;
    margin-left: var(--space-1);
}

/* ===== INPUT, TEXTAREA, SELECT ===== */
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--color-text-primary);
    background-color: var(--color-white);
    border: 2px solid rgba(26, 26, 46, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
    border-color: rgba(26, 26, 46, 0.2);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-muted);
}

/* Disabled state */
.form-input:disabled,
.form-textarea:disabled,
.form-select:disabled {
    background-color: #F5F5F5;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ===== INPUT SIZES ===== */
.form-input-sm {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
}

.form-input-lg {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-lg);
}

/* ===== TEXTAREA ===== */
.form-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: var(--leading-normal);
}

.form-textarea-sm {
    min-height: 100px;
}

.form-textarea-lg {
    min-height: 200px;
}

/* ===== SELECT ===== */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A4A68' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-10);
    cursor: pointer;
}

.form-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF6B35' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

/* ===== VALIDATION STATES ===== */

/* Invalid */
.form-input.is-invalid,
.form-textarea.is-invalid,
.form-select.is-invalid {
    border-color: #DC3545;
}

.form-input.is-invalid:focus,
.form-textarea.is-invalid:focus,
.form-select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Valid */
.form-input.is-valid,
.form-textarea.is-valid,
.form-select.is-valid {
    border-color: #28A745;
}

.form-input.is-valid:focus,
.form-textarea.is-valid:focus,
.form-select.is-valid:focus {
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Error message */
.form-error {
    color: #DC3545;
    font-size: var(--text-sm);
    margin-top: var(--space-1);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.form-error i {
    font-size: var(--text-xs);
}

/* Success message */
.form-success {
    color: #28A745;
    font-size: var(--text-sm);
    margin-top: var(--space-1);
}

/* Help text */
.form-help {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-top: var(--space-1);
}

/* ===== CHECKBOX & RADIO ===== */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.form-check-label {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    cursor: pointer;
    line-height: 1.4;
}

/* Custom checkbox */
.form-check-custom {
    position: relative;
    padding-left: 28px;
}

.form-check-custom .form-check-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.form-check-custom .checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: var(--color-white);
    border: 2px solid #E5E5E5;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.form-check-custom:hover .checkmark {
    border-color: var(--color-primary);
}

.form-check-custom .form-check-input:checked ~ .checkmark {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.form-check-custom .checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-check-custom .form-check-input:checked ~ .checkmark::after {
    display: block;
}

/* Custom radio */
.form-radio-custom .checkmark {
    border-radius: var(--radius-full);
}

.form-radio-custom .checkmark::after {
    left: 4px;
    top: 4px;
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: white;
    border: none;
    transform: none;
}

/* ===== INPUT WITH ICON ===== */
.form-input-icon {
    position: relative;
}

.form-input-icon .form-input {
    padding-left: var(--space-10);
}

.form-input-icon .icon {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
}

.form-input-icon .form-input:focus ~ .icon {
    color: var(--color-primary);
}

/* Icon on right */
.form-input-icon-right .form-input {
    padding-left: var(--space-4);
    padding-right: var(--space-10);
}

.form-input-icon-right .icon {
    left: auto;
    right: var(--space-4);
}

/* ===== INPUT GROUP ===== */
.input-group {
    display: flex;
}

.input-group .form-input {
    border-radius: 0;
    flex: 1;
}

.input-group .form-input:first-child {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.input-group .form-input:last-child {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.input-group-prepend,
.input-group-append {
    display: flex;
    align-items: center;
    padding: 0 var(--space-4);
    background-color: #F5F5F5;
    border: 2px solid #E5E5E5;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.input-group-prepend {
    border-right: none;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.input-group-append {
    border-left: none;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.input-group .btn {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* ===== FLOATING LABEL ===== */
.form-floating {
    position: relative;
}

.form-floating .form-input {
    padding-top: var(--space-5);
    padding-bottom: var(--space-2);
}

.form-floating .form-label {
    position: absolute;
    top: 50%;
    left: var(--space-4);
    transform: translateY(-50%);
    transition: all var(--transition-fast);
    pointer-events: none;
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.form-floating .form-input:focus ~ .form-label,
.form-floating .form-input:not(:placeholder-shown) ~ .form-label {
    top: var(--space-2);
    transform: translateY(0);
    font-size: var(--text-xs);
    color: var(--color-primary);
}

/* ===== SWITCH / TOGGLE ===== */
.form-switch {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.form-switch-input {
    position: relative;
    width: 48px;
    height: 24px;
    appearance: none;
    background-color: #E5E5E5;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.form-switch-input::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: var(--color-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.form-switch-input:checked {
    background-color: var(--color-primary);
}

.form-switch-input:checked::before {
    transform: translateX(24px);
}

.form-switch-label {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    cursor: pointer;
}

/* ===== FILE INPUT ===== */
.form-file {
    position: relative;
}

.form-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.form-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-6);
    border: 2px dashed #E5E5E5;
    border-radius: var(--radius-lg);
    background-color: #FAFAFA;
    color: var(--color-text-secondary);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.form-file-label:hover {
    border-color: var(--color-primary);
    background-color: rgba(255, 107, 53, 0.05);
}

.form-file-label i {
    font-size: var(--text-2xl);
    color: var(--color-text-muted);
}

/* ===== RANGE INPUT ===== */
.form-range {
    width: 100%;
    height: 6px;
    appearance: none;
    background: #E5E5E5;
    border-radius: var(--radius-full);
    cursor: pointer;
}

.form-range::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.form-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
}

/* ===== FORM LAYOUT ===== */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

.form-inline {
    display: flex;
    align-items: flex-end;
    gap: var(--space-4);
}

.form-inline .form-group {
    margin-bottom: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        min-width: 100%;
    }
    
    .form-inline {
        flex-direction: column;
        align-items: stretch;
    }
}


/* ========================================
   ANIMATIONS
   ======================================== */

/* ===== CSS ANIMATIONS ===== */
/* Keyframes and animation classes for ForexChange */

/* ===== KEYFRAMES ===== */

/* Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Down */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Left */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade In Right */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale In */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Float (for decorative elements) */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Pulse */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Blob Animation - smooth organic movement */
@keyframes blobMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(30px, 10px) scale(1.05);
    }
}

/* Rotate */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Bounce */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

/* Shake */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* Slide In Up */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Slide In Down */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Gradient Shift */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Glow Pulse */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
    }
}

/* ===== ANIMATION CLASSES ===== */

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-blob {
    animation: blobMove 20s ease-in-out infinite;
}

.animate-rotate {
    animation: rotate 10s linear infinite;
}

.animate-bounce {
    animation: bounce 2s ease infinite;
}

.animate-glow {
    animation: glowPulse 2s ease-in-out infinite;
}

/* ===== SCROLL ANIMATION STATES ===== */

/* DISABLED scroll animations for faster page load */
/* All elements are visible immediately */
[data-animate] {
    opacity: 1;
    transform: none;
}

/* Keep animated class for compatibility */
[data-animate].animated {
    opacity: 1;
    transform: none;
}

/* No hidden states - everything visible immediately */
.js-ready [data-animate],
.js-ready [data-animate]:not(.animated),
.js-ready [data-animate="fade-up"]:not(.animated),
.js-ready [data-animate="fade-down"]:not(.animated),
.js-ready [data-animate="fade-left"]:not(.animated),
.js-ready [data-animate="fade-right"]:not(.animated),
.js-ready [data-animate="scale"]:not(.animated),
.js-ready [data-animate="fade"]:not(.animated),
.no-js [data-animate] {
    opacity: 1;
    transform: none;
}

/* Stagger delays for sequential animations */
[data-animate-delay="100"] { transition-delay: 100ms; }
[data-animate-delay="200"] { transition-delay: 200ms; }
[data-animate-delay="300"] { transition-delay: 300ms; }
[data-animate-delay="400"] { transition-delay: 400ms; }
[data-animate-delay="500"] { transition-delay: 500ms; }
[data-animate-delay="600"] { transition-delay: 600ms; }
[data-animate-delay="700"] { transition-delay: 700ms; }
[data-animate-delay="800"] { transition-delay: 800ms; }

/* ===== HOVER EFFECTS ===== */

/* Lift effect */
.hover-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Scale effect */
.hover-scale {
    transition: transform var(--transition-normal);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Glow effect */
.hover-glow {
    transition: box-shadow var(--transition-normal);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

/* Icon rotate */
.hover-icon-rotate:hover i,
.hover-icon-rotate:hover .icon {
    transform: rotate(15deg);
    transition: transform var(--transition-fast);
}

/* Underline effect */
.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.hover-underline:hover::after {
    width: 100%;
}

/* Shine effect */
.hover-shine {
    position: relative;
    overflow: hidden;
}

.hover-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.hover-shine:hover::before {
    left: 100%;
}

/* ===== BLOB SHAPES ===== */

.blob-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

/* Primary blob (orange) */
.blob-primary {
    background: var(--color-primary);
    width: 400px;
    height: 400px;
}

/* Secondary blob (purple) */
.blob-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 350px;
    height: 350px;
}

/* Tertiary blob (pink) */
.blob-tertiary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    width: 300px;
    height: 300px;
}

/* Blob positions */
.blob-top-left {
    top: -100px;
    left: -100px;
    animation: blobMove 20s ease-in-out infinite;
}

.blob-top-right {
    top: -50px;
    right: -100px;
    animation: blobMove 25s ease-in-out infinite reverse;
}

.blob-bottom-left {
    bottom: -100px;
    left: 20%;
    animation: blobMove 22s ease-in-out infinite;
    animation-delay: -5s;
}

.blob-bottom-right {
    bottom: -50px;
    right: 10%;
    animation: blobMove 18s ease-in-out infinite reverse;
    animation-delay: -10s;
}

.blob-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blobMove 30s ease-in-out infinite;
}

/* Hero section blobs */
.hero-blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-blobs .blob-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--gradient-blob-1);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobMove 25s ease-in-out infinite;
}

.hero-blobs .blob-2 {
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: var(--gradient-blob-2);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: blobMove 30s ease-in-out infinite reverse;
}

.hero-blobs .blob-3 {
    position: absolute;
    top: 40%;
    left: 30%;
    width: 300px;
    height: 300px;
    background: var(--gradient-blob-3);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    animation: blobMove 20s ease-in-out infinite;
    animation-delay: -7s;
}

/* ===== LOADING ANIMATIONS ===== */

/* Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 107, 53, 0.2);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
}

/* Dots loading */
.loading-dots {
    display: flex;
    gap: 4px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ===== 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;
    }
    
    [data-animate] {
        opacity: 1;
        transform: none;
    }
    
    .blob {
        animation: none;
    }
}


/* ========================================
   GLOBAL STYLES (from main.css)
   ======================================== */

/* ===== ADDITIONAL GLOBAL STYLES ===== */

/* Header placeholder - prevents layout shift */
#header-placeholder {
    min-height: 80px;
    position: relative;
    z-index: var(--z-header-placeholder, 50);
}

/* Skeleton loading animation */
@keyframes skeletonPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Header skeleton - shows while header is loading */
.header-skeleton {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: var(--z-header, 100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-6, 1.5rem);
    max-width: 100%;
}

.header-skeleton::before {
    content: '';
    width: 150px;
    height: 40px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

.header-skeleton::after {
    content: '';
    width: 200px;
    height: 36px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    animation: skeletonPulse 1.5s ease-in-out infinite;
    animation-delay: 0.2s;
}

/* Footer placeholder */
#footer-placeholder {
    min-height: 300px;
}

/* Footer skeleton */
.footer-skeleton {
    min-height: 300px;
    background: var(--color-text-primary, #1a1a2e);
}

/* Main content wrapper */
main {
    min-height: calc(100vh - 380px);
}

/* ===== HEADER STYLES ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header, 100);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--text-lg);
    padding: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.logo-text span {
    color: var(--color-primary);
}

/* Navigation */
.nav {
    display: none;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
        align-items: center;
        gap: var(--space-8);
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: var(--space-2) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Language Switcher */
.language-switcher {
    display: none;
    align-items: center;
    gap: var(--space-1);
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-full);
    padding: var(--space-1);
}

/* Show language switcher only on desktop in header */
@media (min-width: 768px) {
    .header-actions .language-switcher {
        display: flex;
    }
}

/* Always show language switcher in mobile nav */
.mobile-nav-lang .language-switcher {
    display: flex;
}

.lang-btn {
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-secondary);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn:hover:not(.active) {
    color: var(--color-primary);
}

.lang-btn.active {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* Header CTA Button - hidden on mobile */
.header-cta-btn {
    display: none;
}

@media (min-width: 768px) {
    .header-cta-btn {
        display: inline-flex;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: var(--space-2);
    position: relative;
    z-index: var(--z-mobile-btn, 150);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all var(--transition-fast);
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    padding: 100px var(--space-6) var(--space-6);
    z-index: var(--z-mobile-nav, 90);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    transform: translateX(0);
}

/* Mobile menu overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-mobile-overlay, 80);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0s;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.mobile-nav-link {
    display: block;
    padding: var(--space-4) 0;
    font-size: var(--text-xl);
    font-weight: var(--font-medium);
    color: var(--color-text-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-primary);
    padding-left: var(--space-2);
}

/* Mobile Nav CTA and Language sections */
.mobile-nav-cta {
    margin-top: var(--space-6);
}

.mobile-nav-lang {
    margin-top: var(--space-6);
    display: flex;
    justify-content: center;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background-color: var(--color-text-primary);
    color: var(--color-white);
    padding: var(--space-16) 0 var(--space-8);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Footer Brand */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-white);
    text-decoration: none;
    margin-bottom: var(--space-4);
}

.footer-logo .logo-icon {
    background: transparent;
    padding: 0;
}

.footer-logo .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-size: var(--text-lg);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

/* Payment Icons - круглі білі іконки */
.footer-social .payment-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.footer-social .payment-icon img {
    width: 30px;
    height: 30px;
    display: block;
    object-fit: contain;
}

.footer-social .payment-icon {
    cursor: default;
}

.footer-social .payment-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: none;
}

/* Footer Links */
.footer-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* Footer Contact */
.footer-contact {
    font-style: normal;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
}

.footer-contact-item i {
    color: var(--color-primary);
    margin-top: 3px;
}

.footer-contact-item a,
.footer-contact-item span {
    font-style: normal;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--text-xs);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-24) 0 var(--space-16);
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--text-5xl);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: var(--text-6xl);
    }
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: var(--text-xl);
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* ===== PAGE HERO (smaller) ===== */
.page-hero {
    position: relative;
    padding: var(--space-24) 0 var(--space-16);
    text-align: center;
    overflow: hidden;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.page-hero-title {
    margin-bottom: var(--space-4);
}

.page-hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
}

/* ===== SECTION STYLES ===== */
.section-dark {
    background-color: var(--color-text-primary);
    color: var(--color-white);
}

.section-dark .section-title,
.section-dark .section-subtitle {
    color: var(--color-white);
}

.section-dark .section-subtitle {
    opacity: 0.8;
}

.section-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: var(--space-16) 0;
    overflow: hidden;
}

.cta-card {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-12);
}

.cta-title {
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

.cta-text {
    color: var(--color-text-secondary);
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== STATS SECTION ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-2);
}

@media (min-width: 768px) {
    .stat-value {
        font-size: var(--text-5xl);
    }
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.section-dark .stat-value {
    color: var(--color-white);
}

.section-dark .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== TEAM GRID ===== */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: var(--space-8);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-light));
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-8);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: calc(-1 * var(--space-8) - 6px);
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    border: 3px solid var(--color-white);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.timeline-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.timeline-description {
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-5) 0;
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    color: var(--color-text-primary);
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question i {
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding-bottom: var(--space-5);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info-item {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.contact-info-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-1);
}

.contact-info-value {
    color: var(--color-text-primary);
    font-weight: var(--font-medium);
}

/* ===== UTILITY OVERRIDES ===== */

/* Ensure body doesn't scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 100px;
}