/* ========================================
   Upwork Clone - Main Stylesheet
   Responsive Design for All Screen Types
   ======================================== */

/* ========================================
   CSS Variables (Custom Properties)
   ======================================== */
:root {
    --cliko-blue: #2563eb;
    --cliko-dark-blue: #1d4ed8;
    --cliko-yellow: #fbbf24;
    --cliko-dark-yellow: #f59e0b;
    --cliko-gray: #6b7280;
    --cliko-dark-gray: #1f2937;
    --cliko-light-gray: #f8fafc;
    --cliko-border: #e2e8f0;
    --cliko-shadow: 0 4px 6px rgba(0,0,0,0.07);
    --cliko-shadow-hover: 0 20px 25px rgba(0,0,0,0.1);
    --cliko-transition: all 0.3s ease;
    --cliko-radius: 0.5rem;
    --cliko-radius-lg: 1rem;
}

/* ========================================
   Base Styles
   ======================================== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--cliko-dark-gray);
    background-color: #ffffff;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--cliko-dark-gray);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--cliko-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    word-wrap: break-word;
    hyphens: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cliko-dark-gray);
    text-align: center;
    margin-bottom: 1rem;
    word-wrap: break-word;
    hyphens: auto;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--cliko-gray);
    text-align: center;
    margin-bottom: 3rem;
    word-wrap: break-word;
    hyphens: auto;
}

/* French text specific typography improvements */
[lang="fr"] {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
}

[lang="fr"] .hero-title {
    font-size: 3.2rem;
    line-height: 1.1;
}

[lang="fr"] .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.5;
}

[lang="fr"] .section-title {
    font-size: 2.3rem;
    line-height: 1.1;
}

[lang="fr"] .navbar-nav .nav-link {
    font-size: 0.95rem;
    line-height: 1.3;
}

[lang="fr"] .btn {
    font-size: 0.9rem;
    line-height: 1.2;
}

/* ========================================
   Navigation Styles
   ======================================== */
.navbar {
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cliko-blue) !important;
    text-decoration: none;
    transition: var(--cliko-transition);
}

.navbar-brand:hover {
    color: var(--cliko-dark-blue) !important;
}

.navbar-brand img {
    transition: var(--cliko-transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--cliko-dark-gray) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--cliko-transition);
    border-radius: var(--cliko-radius);
}

.navbar-nav .nav-link:hover {
    color: var(--cliko-blue) !important;
    background-color: rgba(30, 58, 138, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ========================================
   Mega Dropdown Styles
   ======================================== */
.mega-dropdown .dropdown-menu {
    width: 100vw;
    max-width: 100vw;
    left: 0;
    right: 0;
    transform: none;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 0;
    padding: 2rem 1rem;
    margin-top: 0.5rem;
    position: fixed;
    top: 100%;
    z-index: 1050;
    max-height: 80vh;
    overflow-y: auto;
}

.mega-dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20%;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.category-group {
    border-bottom: 1px solid var(--cliko-border);
    padding-bottom: 1rem;
}

.category-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.category-title {
    font-size: 0.9rem;
    color: var(--cliko-blue);
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--cliko-yellow);
    display: inline-block;
}

.category-title i {
    font-size: 0.7rem;
    transition: var(--cliko-transition);
}

.category-group:hover .category-title i {
    transform: translateX(3px);
}

.subcategory-link {
    font-size: 0.85rem;
    color: var(--cliko-gray);
    padding: 0.25rem 0.5rem;
    border-radius: var(--cliko-radius);
    transition: var(--cliko-transition);
    text-decoration: none;
    display: block;
}

.subcategory-link:hover {
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--cliko-blue);
    transform: translateX(5px);
}

/* Hover effect for mega dropdown */
.mega-dropdown:hover .dropdown-menu {
    display: block;
}

/* Active state for clicked dropdown */
.mega-dropdown.active .dropdown-menu {
    display: block !important;
}

.mega-dropdown.active .nav-link {
    color: var(--cliko-blue) !important;
    background-color: rgba(30, 58, 138, 0.1);
}

/* Mobile responsiveness for mega dropdown */
@media (max-width: 991.98px) {
    .mega-dropdown .dropdown-menu {
        width: 100%;
        left: 0;
        right: 0;
        transform: none;
        position: static;
        box-shadow: none;
        border: 1px solid var(--cliko-border);
        border-radius: 0;
        padding: 1rem;
        max-width: 100%;
        max-height: none;
        overflow-y: visible;
    }
    
    .mega-dropdown .dropdown-menu::before {
        display: none;
    }
}

/* Responsive navbar buttons */
@media (max-width: 768px) {
    .navbar-nav .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .navbar-nav .btn-outline-upwork,
    .navbar-nav .btn-upwork {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .navbar-nav .btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem !important;
    }
}

/* ========================================
   Button Styles
   ======================================== */
.btn-upwork {
    background-color: var(--cliko-blue);
    border-color: var(--cliko-blue);
    color: white;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: var(--cliko-radius);
    transition: var(--cliko-transition);
    text-decoration: none;
    display: inline-block;
    border: 1px solid var(--cliko-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.btn-upwork:hover {
    background-color: var(--cliko-dark-blue);
    border-color: var(--cliko-dark-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--cliko-shadow);
}

.btn-outline-upwork {
    color: var(--cliko-blue);
    border-color: var(--cliko-blue);
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: var(--cliko-radius);
    transition: var(--cliko-transition);
    text-decoration: none;
    display: inline-block;
    background-color: transparent;
    border: 1px solid var(--cliko-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.btn-outline-upwork:hover {
    background-color: var(--cliko-blue);
    border-color: var(--cliko-blue);
    color: white;
    transform: translateY(-1px);
}

/* French button text wrapping improvements */
[lang="fr"] .btn-upwork,
[lang="fr"] .btn-outline-upwork {
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    max-width: 180px;
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

[lang="fr"] .btn-upwork.btn-sm,
[lang="fr"] .btn-outline-upwork.btn-sm {
    max-width: 120px;
    min-height: 2rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

[lang="fr"] .btn-upwork.btn-lg,
[lang="fr"] .btn-outline-upwork.btn-lg {
    max-width: 220px;
    min-height: 3rem;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

/* ========================================
   Language Switcher
   ======================================== */
.language-switcher {
    position: relative;}

.language-switcher .dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 5rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%232563eb" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23fbbf24" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%232563eb" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23fbbf24" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%232563eb" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* ========================================
   Category Cards
   ======================================== */
.category-card {
    background: white;
    border-radius: var(--cliko-radius-lg);
    padding: 2rem;
    box-shadow: var(--cliko-shadow);
    transition: var(--cliko-transition);
    height: 100%;
    border: 1px solid var(--cliko-border);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cliko-blue), var(--cliko-dark-blue));
    transform: scaleX(0);
    transition: var(--cliko-transition);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cliko-shadow-hover);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--cliko-blue);
    margin-bottom: 1rem;
    transition: var(--cliko-transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cliko-dark-gray);
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--cliko-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.category-subcategories {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--cliko-border);
}

.category-subcategories small {
    font-size: 0.8rem;
    line-height: 1.4;
}

/* ========================================
   Footer Styles
   ======================================== */
.footer {
    background-color: var(--cliko-dark-gray);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--cliko-transition);
    font-size: 0.9rem;
}

.footer a:hover {
    color: var(--cliko-blue);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #4b5563;
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-cliko {
    color: var(--cliko-blue) !important;
}

.bg-cliko {
    background-color: var(--cliko-blue) !important;
}

.border-cliko {
    border-color: var(--cliko-blue) !important;
}

.shadow-cliko {
    box-shadow: var(--cliko-shadow) !important;
}

.shadow-cliko-hover:hover {
    box-shadow: var(--cliko-shadow-hover) !important;
}

/* Yellow accent utilities for Cliko Pro branding */
.text-cliko-yellow {
    color: var(--cliko-yellow) !important;
}

.bg-cliko-yellow {
    background-color: var(--cliko-yellow) !important;
}

.border-cliko-yellow {
    border-color: var(--cliko-yellow) !important;
}

/* Cliko Pro accent styling */
.cliko-accent {
    background: linear-gradient(135deg, var(--cliko-blue) 0%, var(--cliko-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Animation Classes
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   Responsive Design - Mobile First
   ======================================== */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-icon {
        font-size: 2rem;
    }
    
    .btn-upwork,
    .btn-outline-upwork {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 2rem 0;
        min-height: 50vh;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer h5 {
        font-size: 1rem;
    }
    
    .footer a {
        font-size: 0.85rem;
    }
    
    /* French text mobile optimizations */
    [lang="fr"] .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    [lang="fr"] .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    [lang="fr"] .section-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    [lang="fr"] .navbar-nav .nav-link {
        font-size: 0.85rem;
        line-height: 1.2;
        padding: 0.5rem 0.8rem !important;
    }
    
    [lang="fr"] .btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    
    /* Button text wrapping for French */
    .navbar-nav .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }
    
    [lang="fr"] .navbar-nav .btn {
        max-width: 140px;
        font-size: 0.8rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .category-card {
        padding: 1.75rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-title {
        font-size: 3.25rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem !important;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .category-card {
        padding: 2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .navbar,
    .footer,
    .btn-upwork,
    .btn-outline-upwork {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        padding: 1rem 0 !important;
    }
    
    .category-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* ========================================
   High Contrast Mode
   ======================================== */
@media (prefers-contrast: high) {
    :root {
        --cliko-green: #0d7a00;
        --cliko-dark-green: #0a5c00;
        --cliko-gray: #4a5568;
        --cliko-dark-gray: #1a202c;
    }
    
    .category-card {
        border: 2px solid var(--cliko-dark-gray);
    }
    
    .btn-upwork,
    .btn-outline-upwork {
        border-width: 2px;
    }
}

/* ========================================
   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;
    }
    
    .category-card:hover {
        transform: none;
    }
    
    .btn-upwork:hover,
    .btn-outline-upwork:hover {
        transform: none;
    }
}

/* ========================================
   Dark Mode Support
   ======================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --cliko-light-gray: #1f2937;
        --cliko-border: #374151;
    }
    
    body {
        background-color: #111827;
        color: #f9fafb;
    }
    
    .navbar {
        background: #1f2937 !important;
        border-bottom: 1px solid var(--cliko-border);
    }
    
    .category-card {
        background: #1f2937;
        border-color: var(--cliko-border);
        color: #f9fafb;
    }
    
    .hero-section {
        background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    }
}

/* ========================================
   Accessibility Improvements for French Language
   ======================================== */

/* High contrast mode for French text */
@media (prefers-contrast: high) {
    [lang="fr"] .navbar-nav .nav-link {
        border: 1px solid transparent;
        font-weight: 600;
    }
    
    [lang="fr"] .navbar-nav .nav-link:hover,
    [lang="fr"] .navbar-nav .nav-link:focus {
        border-color: var(--cliko-blue);
        background-color: rgba(30, 58, 138, 0.2);
    }
    
    [lang="fr"] .btn-upwork,
    [lang="fr"] .btn-outline-upwork {
        border-width: 2px;
        font-weight: 600;
    }
    
    [lang="fr"] .mega-dropdown .dropdown-menu {
        border: 2px solid var(--cliko-blue);
    }
    
    [lang="fr"] .subcategory-link {
        border: 1px solid transparent;
        border-radius: 4px;
    }
    
    [lang="fr"] .subcategory-link:hover,
    [lang="fr"] .subcategory-link:focus {
        border-color: var(--cliko-blue);
        background-color: rgba(30, 58, 138, 0.1);
    }
}

/* Focus indicators for French text */
[lang="fr"] .navbar-nav .nav-link:focus {
    outline: 3px solid rgba(30, 58, 138, 0.5);
    outline-offset: 2px;
    background-color: rgba(30, 58, 138, 0.1);
}

[lang="fr"] .btn:focus {
    outline: 3px solid rgba(30, 58, 138, 0.5);
    outline-offset: 2px;
}

[lang="fr"] .subcategory-link:focus {
    outline: 2px solid var(--cliko-blue);
    outline-offset: 1px;
    background-color: rgba(30, 58, 138, 0.1);
}

/* Screen reader improvements for French text */
[lang="fr"] .navbar-nav .nav-link {
    position: relative;
}

[lang="fr"] .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--cliko-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

[lang="fr"] .navbar-nav .nav-link:hover::after,
[lang="fr"] .navbar-nav .nav-link:focus::after {
    width: 80%;
}

/* Reduced motion for French text */
@media (prefers-reduced-motion: reduce) {
    [lang="fr"] .navbar-nav .nav-link::after {
        transition: none;
    }
    
    [lang="fr"] .btn-upwork,
    [lang="fr"] .btn-outline-upwork {
        transition: none;
    }
    
    [lang="fr"] .subcategory-link {
        transition: none;
    }
}

/* French text spacing for better readability */
[lang="fr"] .navbar-nav .nav-link {
    letter-spacing: 0.025em;
}

[lang="fr"] .btn {
    letter-spacing: 0.025em;
}

[lang="fr"] .subcategory-link {
    letter-spacing: 0.01em;
}

/* French text color contrast improvements */
[lang="fr"] .navbar-nav .nav-link {
    color: var(--cliko-dark-gray) !important;
}

[lang="fr"] .navbar-nav .nav-link:hover {
    color: var(--cliko-blue) !important;
}

[lang="fr"] .subcategory-link {
    color: var(--cliko-gray);
}

[lang="fr"] .subcategory-link:hover {
    color: var(--cliko-blue);
}

/* French text size adjustments for better accessibility */
@media (min-width: 1200px) {
    [lang="fr"] .navbar-nav .nav-link {
        font-size: 1rem;
    }
    
    [lang="fr"] .btn {
        font-size: 0.95rem;
    }
    
    [lang="fr"] .subcategory-link {
        font-size: 0.9rem;
    }
}/* ========================================
   FAQ Section Styles
   ======================================== */
.faq-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e2e8f0" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23e2e8f0" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23e2e8f0" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23e2e8f0" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23e2e8f0" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.faq-section-title {
    color: var(--cliko-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.faq-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--cliko-blue), var(--cliko-yellow));
    border-radius: 2px;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--cliko-radius) !important;
    overflow: hidden;
    box-shadow: var(--cliko-shadow);
    transition: var(--cliko-transition);
}

.accordion-item:hover {
    box-shadow: var(--cliko-shadow-hover);
    transform: translateY(-2px);
}

.accordion-button {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--cliko-dark-gray);
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    transition: var(--cliko-transition);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--cliko-blue) 0%, var(--cliko-dark-blue) 100%);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: var(--cliko-transition);
    width: 1.25rem;
    height: 1.25rem;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.accordion-body {
    padding: 1.5rem;
    background: #ffffff;
    border-top: 1px solid var(--cliko-border);
}

.accordion-body h6 {
    color: var(--cliko-blue);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.accordion-body h6:first-child {
    margin-top: 0;
}

.accordion-body p {
    color: var(--cliko-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.accordion-body ul {
    margin-bottom: 1rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
    color: var(--cliko-gray);
    line-height: 1.5;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--cliko-blue), var(--cliko-dark-blue));
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.875rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.accordion-button:not(.collapsed) .step-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* FAQ Questions specific styles */
.faq-questions .accordion-item {
    background: #ffffff;
}

/* How It Works specific styles */
.how-it-works {
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-radius: var(--cliko-radius-lg);
    pointer-events: none;
}

.how-it-works .accordion-item {
    background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    position: relative;
    z-index: 1;
}

.how-it-works .accordion-button {
    background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
    border: none;
    font-weight: 600;
    color: var(--cliko-dark-gray);
    position: relative;
    overflow: hidden;
}

.how-it-works .accordion-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    transition: left 0.5s ease;
}

.how-it-works .accordion-button:hover::before {
    left: 100%;
}

.how-it-works .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--cliko-yellow) 0%, var(--cliko-dark-yellow) 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.how-it-works .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.how-it-works .accordion-button:not(.collapsed) .step-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.how-it-works .accordion-body {
    background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
    border-top: 1px solid rgba(251, 191, 36, 0.2);
}

.how-it-works .accordion-body p {
    color: var(--cliko-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Animation for accordion items */
.accordion-collapse {
    transition: height 0.35s ease;
}

.accordion-collapse.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/* Responsive adjustments for FAQ */
@media (max-width: 1200px) {
    .faq-section .row {
        gap: 2rem;
    }
    
    .how-it-works .accordion-button {
        padding: 1.1rem 1.4rem;
    }
}

@media (max-width: 992px) {
    .faq-section .row {
        gap: 1.5rem;
    }
    
    .faq-questions,
    .how-it-works {
        margin-bottom: 2rem;
    }
    
    .how-it-works .accordion-button {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .step-number {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.85rem;
        margin-right: 0.8rem;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-section-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .accordion-button {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1.25rem;
    }
    
    .step-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8rem;
        margin-right: 0.75rem;
    }
    
    .how-it-works .accordion-button {
        padding: 0.9rem 1.1rem;
        font-size: 0.9rem;
    }
    
    .how-it-works .accordion-body p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 2rem 0;
    }
    
    .faq-section .container {
        padding: 0 1rem;
    }
    
    .faq-section-title {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
    
    .accordion-button {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .accordion-body {
        padding: 1rem;
    }
    
    .accordion-body h6 {
        font-size: 0.9rem;
    }
    
    .accordion-body p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .step-number {
        width: 1.6rem;
        height: 1.6rem;
        font-size: 0.75rem;
        margin-right: 0.6rem;
    }
    
    .how-it-works .accordion-button {
        padding: 0.8rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .how-it-works .accordion-body p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 1.5rem 0;
    }
    
    .faq-section .container {
        padding: 0 0.75rem;
    }
    
    .faq-section-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .accordion-button {
        padding: 0.75rem 0.875rem;
        font-size: 0.8rem;
    }
    
    .accordion-body {
        padding: 0.875rem;
    }
    
    .accordion-body p {
        font-size: 0.8rem;
    }
    
    .step-number {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.7rem;
        margin-right: 0.5rem;
    }
    
    .how-it-works .accordion-button {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .how-it-works .accordion-body p {
        font-size: 0.85rem;
    }
}

/* Extra large screens optimization */
@media (min-width: 1400px) {
    .faq-section .container {
        max-width: 1320px;
    }
    
    .how-it-works .accordion-button {
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
    }
    
    .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
        margin-right: 1.25rem;
    }
    
    .how-it-works .accordion-body p {
        font-size: 1.1rem;
        line-height: 1.8;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .step-number {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .how-it-works .accordion-button:not(.collapsed) {
        box-shadow: 0 12px 35px rgba(251, 191, 36, 0.4);
    }
}

/* Print styles */
@media print {
    .faq-section {
        background: white !important;
    }
    
    .accordion-button {
        background: white !important;
        color: black !important;
    }
    
    .accordion-collapse {
        display: block !important;
    }
    
    .step-number {
        background: #f0f0f0 !important;
        color: black !important;
    }
}

/* Review Cards Styles */
.review-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.profile-image {
    margin-right: 15px;
    flex-shrink: 0;
}

.profile-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.reviewer-role {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-right: 8px;
    letter-spacing: 2px;
}

.rating-value {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 15px;
    font-style: italic;
}

.review-meta {
    text-align: right;
}

.review-meta small {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Responsive adjustments for review cards */
@media (max-width: 768px) {
    .review-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .profile-image img {
        width: 50px;
        height: 50px;
    }
    
    .reviewer-name {
        font-size: 1rem;
    }
    
    .reviewer-role {
        font-size: 0.85rem;
    }
    
    .review-text {
        font-size: 0.9rem;
    }
}


