/* ================================================
   MP SOFT SOLUTIONS - Modern CSS
   Palette: Violet #6733B5 (primary)
   ================================================ */

/* === CSS Variables === */
:root {
    /* Colors - Violet Palette */
    --primary: #6733B5;
    --primary-light: #8B5DC8;
    --primary-lighter: #a986dd;
    --primary-dark: #5229A0;
    --primary-darker: #391d65;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6733B5 0%, #8B5DC8 50%, #a986dd 100%);
    --gradient-hero: linear-gradient(135deg, #1a0a2e 0%, #2d1654 50%, #3d1f6d 100%);
    --gradient-dark: linear-gradient(180deg, #0f0518 0%, #1a0a2e 100%);
    --gradient-card: linear-gradient(145deg, rgba(103, 51, 181, 0.1) 0%, rgba(139, 93, 200, 0.05) 100%);
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8f9fc;
    --gray-100: #f0f1f5;
    --gray-200: #e5e7ed;
    --gray-300: #d1d5de;
    --gray-400: #9ca3b4;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Accent colors for products */
    --smartplan: #10B981;
    --spellion: #6733B5;
    --budgira: #F59E0B;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(103, 51, 181, 0.08);
    --shadow-md: 0 8px 24px rgba(103, 51, 181, 0.12);
    --shadow-lg: 0 16px 48px rgba(103, 51, 181, 0.16);
    --shadow-glow: 0 0 40px rgba(103, 51, 181, 0.3);
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}


/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* === Loader === */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: loading 1.5s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}


/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .logo-text {
    color: var(--gray-700);
}

.navbar.scrolled .logo-icon {
    background: var(--gradient-primary);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 55px;
}

.nav-logo img {
    height: 55px;
    width: auto;
    transition: var(--transition-base);
}

.nav-logo .logo-dark {
    display: none;
}

.nav-logo .logo-white {
    display: block;
}

.navbar.scrolled .logo-dark {
    display: block;
}

.navbar.scrolled .logo-white {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
    background: rgba(103, 51, 181, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 4px;
}

.navbar.scrolled .lang-switcher {
    background: var(--gray-100);
}

.lang-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.navbar.scrolled .lang-btn {
    color: var(--gray-500);
}

.lang-btn.active {
    background: var(--white);
    color: var(--primary);
}

.navbar.scrolled .lang-btn.active {
    background: var(--primary);
    color: var(--white);
}

.btn-nav {
    display: none;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px;
}

.nav-toggle span {
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
    background: var(--gray-700);
}


/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(103, 51, 181, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(103, 51, 181, 0.5);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn i {
    transition: transform var(--transition-base);
}

.btn:hover i {
    transform: translateX(4px);
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(103, 51, 181, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(139, 93, 200, 0.3) 0%, transparent 40%),
        radial-gradient(ellipse 50% 30% at 20% 70%, rgba(169, 134, 221, 0.2) 0%, transparent 40%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

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

.hero-badge span:last-child {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-title span {
    display: block;
}

.text-gradient {
    background: linear-gradient(135deg, #a986dd 0%, #e0d4f5 50%, #a986dd 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 30px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-lighter);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: var(--transition-base);
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.8);
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}


/* === Section Styles === */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(103, 51, 181, 0.1);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.section-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* === Products Section === */
.products {
    background: var(--gray-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card.featured {
    border-color: var(--primary-lighter);
    background: linear-gradient(180deg, rgba(103, 51, 181, 0.03) 0%, var(--white) 100%);
}

.product-card.featured::before {
    transform: scaleX(1);
}

.product-card .product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
}

.product-icon .icon-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    opacity: 0.1;
    transition: var(--transition-base);
}

.product-card:hover .icon-bg {
    opacity: 0.2;
    transform: scale(1.1) rotate(5deg);
}

.product-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition-base);
}

.product-card:hover .product-icon i {
    transform: translate(-50%, -50%) scale(1.1);
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.product-tagline {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
}

.product-description {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.product-features {
    margin-bottom: 28px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.product-features i {
    color: var(--primary);
    font-size: 0.85rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.product-link i {
    transition: transform var(--transition-base);
}

.product-link:hover {
    color: var(--primary-dark);
}

.product-link:hover i {
    transform: translateX(6px);
}

.product-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 200px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.product-card:hover .product-glow {
    opacity: 0.15;
}


/* === Features Section === */
.features {
    background: var(--white);
    overflow: hidden;
}

.features-wrapper {
    display: flex;
    justify-content: center;
}

.features-content {
    max-width: 900px;
    text-align: center;
}

.features-content .section-text {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-align: left;
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lighter);
    transform: translateY(-4px);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(103, 51, 181, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.feature-item:hover .feature-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.feature-text h4 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}



/* === Community Section === */
.community {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.community::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 50% at 20% 30%, rgba(103, 51, 181, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 80% 70%, rgba(139, 93, 200, 0.15) 0%, transparent 50%);
}

.community .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.community .section-title {
    color: var(--white);
}

.community .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Discord Community Card */
.community-discord {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.discord-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.discord-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(88, 101, 242, 0.4);
}

.discord-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 2.5rem;
    color: var(--white);
    background: linear-gradient(135deg, #5865F2, #7289DA);
    transition: var(--transition-base);
}

.discord-card:hover .discord-icon {
    transform: scale(1.1) rotate(-5deg);
}

.discord-content h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.discord-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 24px;
}

.discord-channels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.discord-channels .channel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(88, 101, 242, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
}

.discord-channels .channel:hover {
    background: rgba(88, 101, 242, 0.4);
    color: var(--white);
    transform: translateY(-2px);
}

.discord-channels .channel i {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition-base);
}

.btn-discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.btn-discord i {
    font-size: 1.2rem;
}


/* === Contact Section === */
.contact {
    background: var(--gray-50);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    padding-top: 20px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 1.1rem;
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.contact-text a,
.contact-text span {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 1rem;
}

.contact-text a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-600);
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-4px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    padding-left: 50px;
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--gray-700);
    transition: var(--transition-base);
}

.form-group textarea {
    padding-left: 20px;
    resize: vertical;
    min-height: 140px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(103, 51, 181, 0.1);
}

.form-icon {
    position: absolute;
    left: 18px;
    top: 50px;
    color: var(--gray-400);
    transition: var(--transition-base);
}

.form-group:focus-within .form-icon {
    color: var(--primary);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239ca3b4' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* Captcha Styles */
.captcha-group {
    margin-top: 8px;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    min-width: 120px;
    justify-content: center;
}

.captcha-op, .captcha-eq {
    opacity: 0.8;
}

.captcha-wrapper input {
    width: 80px;
    padding: 14px 16px;
    padding-left: 16px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.captcha-wrapper input::-webkit-outer-spin-button,
.captcha-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.captcha-wrapper input[type=number] {
    -moz-appearance: textfield;
}

.captcha-refresh {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    color: var(--gray-500);
    font-size: 1rem;
    transition: var(--transition-base);
    cursor: pointer;
}

.captcha-refresh:hover {
    background: var(--gray-200);
    color: var(--primary);
    transform: rotate(180deg);
}


/* === Toast Notifications === */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 380px;
    border-left: 4px solid;
}

.toast.show {
    transform: translateX(0);
}

.toast.toast-error {
    border-left-color: #EF4444;
}

.toast.toast-success {
    border-left-color: #10B981;
}

.toast.toast-warning {
    border-left-color: #F59E0B;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--white);
}

.toast-error .toast-icon {
    background: #EF4444;
}

.toast-success .toast-icon {
    background: #10B981;
}

.toast-warning .toast-icon {
    background: #F59E0B;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.toast-message {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--gray-700);
}

@media (max-width: 480px) {
    .toast-container {
        left: 10px;
        right: 10px;
        top: 80px;
    }
    
    .toast {
        max-width: none;
    }
}


/* === Footer === */
.footer {
    background: var(--gray-900);
    color: var(--white);
}

.footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-lighter);
    padding-left: 8px;
}

.footer-bottom {
    padding: 30px 0;
}

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

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

.footer-siret {
    font-size: 0.85rem;
}

/* === Animations on Scroll === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll[data-animation="fade-up"] {
    transform: translateY(40px);
}

.animate-on-scroll[data-animation="fade-down"] {
    transform: translateY(-40px);
}

.animate-on-scroll[data-animation="fade-left"] {
    transform: translateX(40px);
}

.animate-on-scroll[data-animation="fade-right"] {
    transform: translateX(-40px);
}

.animate-on-scroll[data-animation="zoom-in"] {
    transform: scale(0.9);
}

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

/* Stagger delays */
.animate-on-scroll[data-delay="100"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="200"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="300"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="400"] { transition-delay: 0.4s; }

/* Particle Animation (created via JS) */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particle-float 15s linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}


/* === Responsive Design === */

/* Large Tablets */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

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

    .products-grid .product-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .discord-card {
        padding: 36px;
    }

    .features-grid {
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: none;
    }
}

/* Tablets */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 0;
        transition: right var(--transition-base);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

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

    .nav-menu .nav-link {
        color: var(--gray-700);
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid var(--gray-100);
        border-radius: 0;
    }

    .nav-menu .nav-link:hover {
        background: none;
        color: var(--primary);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .btn-nav {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px 30px;
        padding: 24px 30px;
    }

    .stat-divider {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-grid .product-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .discord-card {
        padding: 28px 20px;
    }

    .discord-content h3 {
        font-size: 1.3rem;
    }

    .discord-channels {
        gap: 8px;
    }

    .discord-channels .channel {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-item {
        padding: 20px;
    }

    .contact-form-wrapper {
        padding: 30px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-stats {
        width: 100%;
        justify-content: space-around;
    }

    .stat-number {
        font-size: 2rem;
    }

    .product-card {
        padding: 30px 24px;
    }

    .community-card {
        padding: 28px 20px;
    }

    .lang-switcher {
        display: none;
    }

    .navbar .lang-switcher {
        display: none;
    }

    .nav-menu .lang-switcher-mobile {
        display: flex;
        margin-top: 20px;
    }
}

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

    html {
        scroll-behavior: auto;
    }

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