/* Salon25 Marketing Website Styles */

/* ============================================
   Base Styles
   ============================================ */
:root {
    --primary-color: #7c3aed;
    --primary-light: #a78bfa;
    --primary-dark: #6d28d9;
    --secondary-color: #f59e0b;
    --success-color: #10b981;
    --error-color: #ef4444;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
}

html, body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Navigation
   ============================================ */
.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: #ede9fe;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

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

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.card-featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

/* ============================================
   Hero Sections
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card.popular {
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.price-tag {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ============================================
   Feature Icons
   ============================================ */
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.feature-icon.purple {
    background-color: #ede9fe;
    color: var(--primary-color);
}

.feature-icon.blue {
    background-color: #dbeafe;
    color: #3b82f6;
}

.feature-icon.green {
    background-color: #dcfce7;
    color: var(--success-color);
}

.feature-icon.orange {
    background-color: #fed7aa;
    color: var(--secondary-color);
}

/* ============================================
   Comparison Table
   ============================================ */
.comparison-table {
    border-collapse: collapse;
    width: 100%;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--bg-light);
    font-weight: 600;
}

.comparison-table th.salon25 {
    background-color: var(--primary-color);
    color: white;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.check-icon {
    color: var(--success-color);
}

.cross-icon {
    color: var(--error-color);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 80px;
    color: #ede9fe;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 60px 0 24px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

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

.pulse {
    animation: pulse 2s infinite;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 960px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 40px 0 30px;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    .price-tag {
        font-size: 2.5rem;
    }
}

/* ============================================
   Language Selector
   ============================================ */
.language-selector {
    min-width: 120px;
}

.language-selector .mud-menu-activator {
    cursor: pointer;
}

/* ============================================
   Form Styles
   ============================================ */
.mud-input-outlined .mud-input-outlined-border {
    border-color: var(--border-color);
}

.mud-input-outlined:hover .mud-input-outlined-border {
    border-color: var(--primary-light);
}

.mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: var(--primary-color);
}

/* ============================================
   Stepper Styles
   ============================================ */
.stepper-connector {
    flex: 1;
    height: 2px;
    background-color: var(--border-color);
    margin: 0 8px;
}

.stepper-connector.completed {
    background-color: var(--success-color);
}

/* ============================================
   Utility Classes
   ============================================ */
.shadow-lg {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.rounded-xl {
    border-radius: 16px;
}

.rounded-2xl {
    border-radius: 24px;
}

.border-primary {
    border: 2px solid var(--primary-color);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.text-white {
    color: white;
}

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

.text-muted {
    color: var(--text-secondary);
}

/* Override MudBlazor defaults for consistency */
.mud-button.mud-button-filled {
    text-transform: none;
    font-weight: 600;
    border-radius: 8px;
}

.mud-paper {
    border-radius: 12px;
}

/* ============================================
   Language Selector - SEO Friendly (No JS Required)
   ============================================ */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-selector .language-button {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.language-selector .language-button:hover {
    background-color: var(--bg-light);
    border-color: var(--border-color);
}

.language-selector .current-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.language-selector .language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    padding: 8px 0;
}

/* Show dropdown on hover - works without JS */
.language-selector:hover .language-dropdown,
.language-selector:focus-within .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-selector .language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background-color 0.15s ease;
}

.language-selector .language-option:hover {
    background-color: var(--bg-light);
}

.language-selector .language-option.active {
    background-color: #ede9fe;
    color: var(--primary-color);
    font-weight: 500;
}

.language-selector .language-option .flag {
    font-size: 1.25rem;
    line-height: 1;
}

.language-selector .language-option .name {
    font-size: 0.9rem;
}

/* Mobile language links in drawer */
.mobile-language-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background-color 0.15s ease;
}

.mobile-language-link:hover {
    background-color: var(--bg-light);
}

.mobile-language-link.active {
    background-color: #ede9fe;
    color: var(--primary-color);
    font-weight: 500;
}
