* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", sans-serif;
}

:root {
    --primary-color: #0A84FF;
    --secondary-color: #64D2FF;
    --background-color: #121212;
    --card-color: #1E1E1E;
    --surface-color: #2C2C2E;
    --text-color: #F2F2F7;
    --secondary-text: #8E8E93;
    --accent-color: #30D158;
    --error-color: #FF453A;
    --border-radius: 16px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --glow: 0 0 15px rgba(10, 132, 255, 0.3);
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: rgba(30, 30, 30, 0.9);
    padding: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header and navigation styles */
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 65px; /* Increased from 40px to 60px for a larger logo */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.main-nav ul li a {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 8px 0;
    position: relative;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color);
}

.main-nav ul li a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.right-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-bar {
    background-color: var(--surface-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 240px;
    transition: all 0.3s ease;
}

.search-bar i {
    color: var(--secondary-text);
    margin-right: 8px;
}

.search-bar input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 16px;
    color: var(--text-color);
}

.menu-toggle {
    display: none; /* Hidden by default for desktop */
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 22px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: rgba(28, 28, 30, 0.95); /* Darker background for better contrast */
    z-index: 150;
    transition: right 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px); /* Stronger blur effect like iOS */
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 10px;
}

.close-menu {
    background: rgba(60, 60, 64, 0.55);
    border: none;
    color: var(--text-color);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.close-menu:hover {
    background-color: rgba(80, 80, 85, 0.6);
}

.close-menu:active {
    transform: scale(0.9);
}

.mobile-menu nav {
    padding: 10px 0;
    flex: 1;
}

.mobile-menu nav ul {
    list-style: none;
    padding: 5px 15px;
}

.mobile-menu nav ul li {
    margin-bottom: 8px;
    border-radius: 12px;
    overflow: hidden;
}

.mobile-menu nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    transition: all 0.2s ease;
    border-radius: 12px;
}

.mobile-menu nav ul li a i {
    font-size: 18px;
    width: 26px;
    height: 26px;
    background-color: rgba(10, 132, 255, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.mobile-menu nav ul li a.active {
    color: var(--primary-color);
    background-color: rgba(10, 132, 255, 0.1);
    font-weight: 600;
}

.mobile-menu nav ul li a.active i {
    background-color: rgba(10, 132, 255, 0.2);
}

.mobile-menu nav ul li a:hover:not(.active) {
    background-color: rgba(142, 142, 147, 0.08);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.mobile-menu-footer p {
    color: var(--secondary-text);
    font-size: 12px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 140;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Filter UI styles - enhanced for better mobile experience */
.categories {
    padding: 20px;
    background-color: var(--card-color);
    margin-bottom: 24px;
    position: relative;
}

.filter-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* Enhanced scroll indicators styling - modified for better tap targets */
.scroll-indicator {
    position: absolute;
    width: 36px;
    height: 36px;
    background-color: rgba(30, 30, 30, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
    z-index: 20; /* Higher z-index to ensure visibility */
    font-size: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease, background-color 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    touch-action: manipulation;
}

.scroll-indicator:active {
    transform: scale(0.95);
    background-color: var(--primary-color);
}

.scroll-indicator.left {
    left: 5px; /* Move closer to the edge for better visibility */
}

.scroll-indicator.right {
    right: 5px; /* Move closer to the edge for better visibility */
}

.scroll-indicator i {
    font-size: 16px; /* Larger icon size for better visibility */
}

.scroll-indicator.visible {
    opacity: 1;
}

/* Improve scroll container for smoother scroll on mobile */
.scroll-container {
    display: flex;
    background-color: rgba(30, 30, 30, 0.6);
    border-radius: 16px;
    padding: 4px;
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none; /* IE and Edge */
    -webkit-overflow-scrolling: touch; /* Improved smooth scrolling on iOS */
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    scroll-behavior: smooth;
    margin: 0 10px; /* Added margin for scroll indicators */
    scroll-snap-type: x mandatory; /* Enable scroll snapping */
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Enhanced category styling with scroll snap */
.category {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-text);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: center;
    flex: 1;
    min-width: fit-content;
    position: relative;
    z-index: 2;
    cursor: pointer;
    scroll-snap-align: start; /* Enable scroll snap */
    white-space: nowrap; /* Prevent text wrapping */
}

.category:active {
    transform: scale(0.95);
}

.category.active {
    color: var(--text-color);
}

/* Special adjustments for mobile navigation */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex; /* Only show on mobile */
    }
    
    /* Ensure scroll indicators are always visible */
    .scroll-indicator {
        opacity: 1;
        width: 32px;
        height: 32px;
    }
    
    .filter-container {
        padding: 0;
    }
    
    .scroll-container {
        margin: 0 20px; /* Increase margin on smaller screens */
    }
}

@media (max-width: 480px) {
    .search-bar {
        width: 140px;
    }
    
    .search-bar i {
        margin-right: 6px;
    }
    
    /* Ensure text is visible */
    .search-bar input::placeholder {
        font-size: 13px;
        content: "Search...";
    }
    
    /* Make menu button more compact */
    .menu-toggle {
        font-size: 20px;
        padding: 3px;
    }
    
    .right-controls {
        gap: 8px;
    }
    
    .scroll-indicator {
        width: 28px;
        height: 28px;
    }
    
    .category {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Filter popup */
.filter-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 15px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 300px;
    max-width: 90%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.filter-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.filter-popup h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-text);
    font-size: 14px;
    cursor: pointer;
}

.filter-options input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-options input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-options input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Enhanced select dropdown styling */
.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px 14px 42px;
    padding-right: 36px;
    color: var(--text-color);
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.select-wrapper select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.2);
}

.select-wrapper select:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(60, 60, 64, 0.6);
}

.select-wrapper select option {
    background-color: var(--card-color);
    color: var(--text-color);
    padding: 12px;
    font-size: 16px;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-text);
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: rgba(10, 132, 255, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide dropdown arrow when inside input with icon */
.input-with-icon .select-arrow {
    display: none; /* Hide the arrow to prevent overlapping with icon */
}

.select-wrapper:hover .select-arrow {
    color: var(--primary-color);
    background-color: rgba(10, 132, 255, 0.2);
}

/* Enhanced input styling */
.form-group input, 
.form-group textarea {
    background-color: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px 14px 42px;
    color: var(--text-color);
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(60, 60, 64, 0.6);
}

.form-group textarea {
    padding: 14px 16px;
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.2);
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    color: var(--secondary-text);
    font-size: 16px;
    transition: all 0.3s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-with-icon:hover i,
.input-with-icon:focus-within i {
    color: var(--primary-color);
}

/* Enhanced new message button */
.new-message-btn {
    margin-top: 20px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.new-message-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(48, 209, 88, 0.4);
}

.new-message-btn:active {
    transform: scale(0.98);
}

.new-message-btn::before {
    content: "\f044";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* Style for select dropdown */
.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px 14px 42px;
    padding-right: 36px;
    color: var(--text-color);
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-wrapper select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.2);
}

.select-wrapper select option {
    background-color: var(--card-color);
    color: var(--text-color);
    padding: 10px;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-text);
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.select-wrapper:hover .select-arrow {
    color: var(--primary-color);
}

.new-message-btn {
    margin-top: 20px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.new-message-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(48, 209, 88, 0.4);
}

.new-message-btn:active {
    transform: scale(0.98);
}

/* Improved Scroll to Top Button with Better Animation */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 54px;
    height: 54px;
    border-radius: 27px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Improved spring-like effect */
    box-shadow: 0 6px 16px rgba(10, 132, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.scroll-to-top i {
    position: relative;
    transition: all 0.3s ease;
}

/* Refined visible state with subtle animation */
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Replace pulse with a more subtle shine effect */
.scroll-to-top.visible::before {
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.2); }
}

.scroll-to-top:hover {
    background-color: #0077E6;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(10, 132, 255, 0.5);
}

.scroll-to-top:hover i {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.scroll-to-top:active {
    transform: translateY(0) scale(0.95);
    background-color: #0064D2;
}

/* Support Us Button - Matches Scroll to Top Button */
.support-us-button {
    position: fixed;
    bottom: 30px; /* Same as scroll-to-top */
    left: 30px;
    height: 54px;
    border-radius: 27px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 16px rgba(10, 132, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    text-decoration: none;
}

.support-us-button span {
    margin-right: 8px;
}

.support-us-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.support-us-button i {
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
}

/* Refined visible state with subtle animation */
.support-us-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.support-us-button.visible::before {
    animation: shine 3s infinite;
}

.support-us-button:hover {
    background-color: #0077E6;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(10, 132, 255, 0.5);
}

.support-us-button:hover i {
    transform: scale(1.2);
    color: #ffcccc;
}

.support-us-button:active {
    transform: translateY(0) scale(0.95);
    background-color: #0064D2;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .support-us-button {
        bottom: 30px; /* Match with scroll-to-top button */
        left: 20px;
        padding: 0 16px;
        height: 48px;
        font-size: 14px;
    }
    
    .scroll-to-top {
        right: 20px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .support-us-button {
        bottom: 30px; /* Match with scroll-to-top button */
        left: 15px;
        padding: 0 14px;
        height: 44px;
        font-size: 13px;
    }
    
    .scroll-to-top {
        right: 15px;
        width: 44px;
        height: 44px;
    }
}

/* About page styles - Enhanced UI */
.about-hero {
    background: linear-gradient(135deg, #0A84FF, #5E5CE6);
    padding: 140px 20px 100px;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #FFFFFF, #E0E0FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.about-section {
    padding: 0 20px 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 80px;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 3fr 2fr;
    }
}

.about-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-color);
    position: relative;
}

.about-content p {
    color: var(--secondary-text);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-item {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(10, 132, 255, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

.feature-icon i {
    font-size: 28px;
    color: white;
    position: relative;
}

.feature-details h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.feature-details p {
    color: var(--secondary-text);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-card {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 120%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.image-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.image-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
}

.stat-item {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-text {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
}

.team-section {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.team-section h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-color);
}

.team-intro {
    color: var(--secondary-text);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.team-member {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(10, 132, 255, 0.2);
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    position: relative;
}

.member-avatar::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0.7;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--card-color);
}

.team-member h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.member-role {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
}

.member-bio {
    color: var(--secondary-text);
    font-size: 14px;
    line-height: 1.6;
}

.contact-section {
    background-color: var(--card-color);
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-color);
}

.contact-section > .container > p {
    color: var(--secondary-text);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-item {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 30px;
    min-width: 250px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(10, 132, 255, 0.3);
}

.contact-item i {
    font-size: 32px;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-item p {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* Contribute button styles */
.contribute-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 20px;
    box-shadow: var(--glow);
}

.contribute-btn:hover {
    background-color: #0064D2;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(10, 132, 255, 0.4);
}

.contribute-btn:active {
    transform: scale(0.98);
    background-color: #004EAF;
}

/* Contact Page Styles */
.contact-section-page {
    padding: 60px 20px 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 3fr 2fr;
    }
}

.contact-form-container, 
.contact-info-container {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.contact-form-container p {
    color: var(--secondary-text);
    margin-bottom: 30px;
    font-size: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    color: var(--secondary-text);
    font-size: 16px;
}

.form-group input, 
.form-group textarea {
    background-color: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px 14px 42px;
    color: var(--text-color);
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    padding: 14px 16px;
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.2);
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: 10px;
    box-shadow: var(--glow);
}

.submit-button:hover {
    background-color: #0064D2;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 132, 255, 0.4);
}

.submit-button:active {
    transform: scale(0.98);
    background-color: #004EAF;
}

.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(48, 209, 88, 0.1);
    border: 1px solid rgba(48, 209, 88, 0.3);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-top: 20px;
}

.success-message i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.success-message p {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.icon-container {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-container i {
    font-size: 22px;
    color: white;
}

.info-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.info-content p {
    color: var(--secondary-text);
    font-size: 14px;
    margin-bottom: 4px;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-content a:hover {
    text-decoration: underline;
}

.social-connect {
    margin-top: 30px;
}

.social-connect h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--surface-color);
    border-radius: 12px;
    color: var(--secondary-text);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(10, 132, 255, 0.3);
}

@media (max-width: 768px) {
    .contact-form-container, 
    .contact-info-container {
        padding: 30px 20px;
    }
    
    .submit-button {
        width: 100%;
    }
}

/* Support Us Page Specific Styles */
.support-section {
    padding: 0 20px 80px;
}

.support-content {
    max-width: 900px;
    margin: 0 auto;
}

.support-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-color);
    position: relative;
}

.support-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.support-content p {
    color: var(--secondary-text);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.support-list {
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

.support-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 16px;
}

.support-list li i {
    color: var(--accent-color);
    font-size: 18px;
    min-width: 24px;
    text-align: center;
}

.kofi-container {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.kofi-container h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.kofi-button-container {
    margin: 30px auto;
    max-width: 300px;
    transform: scale(1.2);
}

.other-ways {
    margin-top: 60px;
}

.other-ways h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-color);
    text-align: center;
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.support-card {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(10, 132, 255, 0.2);
}

.support-card i {
    font-size: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.support-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.support-card p {
    color: var(--secondary-text);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments for support page */
@media (max-width: 768px) {
    .kofi-button-container {
        transform: scale(1.1);
    }
    
    .kofi-container {
        padding: 30px 20px;
    }
    
    .support-cards {
        grid-template-columns: 1fr;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex; /* Only show on mobile */
    }
    
    .scroll-indicator {
        opacity: 1;
    }
    
    .search-bar {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 10px;
    }
    
    .search-bar {
        width: calc(100% - 50px);
        max-width: 180px;
    }
    
    .search-bar input {
        width: 100%;
        font-size: 14px;
    }
    
    .search-bar input::placeholder {
        text-overflow: ellipsis;
    }
    
    .right-controls {
        order: 2; /* Put controls on the right */
    }
    
    /* Mobile filter adjustments */
    .categories {
        padding: 15px 10px;
    }
    
    .filter-container {
        padding: 0 10px;
    }
    
    .scroll-indicator {
        width: 28px;
        height: 28px;
        font-size: 12px;
        opacity: 1; /* Always visible on mobile */
    }
    
    .category {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .search-bar {
        width: 140px;
    }
    
    .search-bar i {
        margin-right: 6px;
    }
    
    /* Ensure text is visible */
    .search-bar input::placeholder {
        font-size: 13px;
        content: "Search...";
    }
    
    /* Make menu button more compact */
    .menu-toggle {
        font-size: 20px;
        padding: 3px;
    }
    
    .right-controls {
        gap: 8px;
    }
}

/* Base h2 styling */
h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Add the underline only to section h2, not to FAQ h2 */
.models-section h2::after,
.license-card-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Center the underline for license card content h2 */
.license-card-content h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.models-section {
    padding: 20px;
    margin-bottom: 40px;
    flex: 1;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .models-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.model-card {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(10, 132, 255, 0.3);
}

.model-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.3);
}

.carousel-images {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
    width: 100%;
}

.carousel-image {
    min-width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    flex-shrink: 0;
}

.carousel-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.2s ease;
}

.model-carousel:hover .carousel-nav {
    opacity: 1;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.model-details {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.model-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-color);
}

.model-info {
    margin-bottom: 14px;
}

.model-creator {
    font-size: 13px;
    color: var(--secondary-text);
}

.download-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--glow);
    margin-top: auto;
}

.download-btn:hover {
    background-color: #0064D2;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(10, 132, 255, 0.5);
}

.download-btn:active {
    transform: scale(0.98);
    background-color: #004EAF;
}

.downloaded-btn {
    background-color: var(--accent-color);
}

/* iOS-style footer */
footer {
    background-color: var(--card-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    padding: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-top {
    padding: 30px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

/* Footer brand section - updated */
.footer-brand {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 55px; /* Increased from 40px */
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    color: var(--secondary-text);
    line-height: 1.5;
    font-size: 14px;
    max-width: 350px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-links-group h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group ul li {
    margin-bottom: 12px;
}

.footer-links-group ul li a {
    color: var(--secondary-text);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 13px;
    display: block;
}

.footer-links-group ul li a:hover {
    color: var(--primary-color);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    width: 100%;
}

.footer-bottom {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: var(--secondary-text);
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--secondary-text);
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Make scrollbars look iOS-like */
::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--card-color);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

/* iOS-style toast */
.ios-toast {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(30, 30, 30, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 15px;
    z-index: 1000;
    animation: fadeIn 0.3s forwards;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ios-toast.hide {
    animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translate(-50%, 0); }
    to { opacity: 0; transform: translate(-50%, -20px); }
}

/* License page specific styles */
.license-hero {
    background: linear-gradient(135deg, #0A84FF, #5E5CE6);
    padding: 100px 20px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.license-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.license-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.license-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 14px 36px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.shape-1 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #64D2FF, transparent);
    top: -50px;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #5E5CE6, transparent);
    bottom: -200px;
    left: -100px;
    animation: float 12s ease-in-out infinite alternate;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #0A84FF, transparent);
    top: 20%;
    left: 15%;
    animation: float 10s ease-in-out infinite 1s alternate;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0); }
}

.license-badge-large {
    background-color: white;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.license-badge-large::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 70%);
    opacity: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.3; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(0.8); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Single card design */
.license-card.single-card {
    padding: 40px;
    border-radius: var(--border-radius);
    background-color: var(--card-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 80px;
    transition: all 0.3s ease;
    text-align: center;
}

.license-card-icon {
    margin-bottom: 30px;
}

.license-card-icon i {
    font-size: 60px;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.license-card-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.license-card-content h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.license-card-content p {
    color: var(--secondary-text);
    font-size: 17px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Feature grid */
.license-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.license-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    text-align: left;
}

.license-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    background-color: rgba(10, 132, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-text p {
    color: var(--secondary-text);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Enhanced FAQ section */
.license-faq {
    padding: 80px 0;
    background-color: var(--card-color);
    position: relative;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
    /* No ::after pseudo-element */
}

.faq-header p {
    color: var(--secondary-text);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ section - updated to remove ::after */
.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-color);
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-icon i {
    position: absolute;
    font-size: 14px;
    transition: all 0.3s ease;
    color: var(--secondary-text);
}

.faq-icon .fa-minus {
    opacity: 0;
    transform: rotate(-90deg);
}

.faq-item.active .faq-icon .fa-plus {
    opacity: 0;
    transform: rotate(90deg);
}

.faq-item.active .faq-icon .fa-minus {
    opacity: 1;
    transform: rotate(0);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 25px;
}

.faq-answer p {
    color: var(--secondary-text);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Call to action section */
.license-cta {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.1), rgba(94, 92, 230, 0.1));
}

.license-cta h2 {
    font-size: 34px;
    margin-bottom: 16px;
    color: var(--text-color);
}

.license-cta p {
    color: var(--secondary-text);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 36px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--glow);
    text-decoration: none;
}

.cta-button:hover {
    background-color: #0064D2;
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 30px rgba(10, 132, 255, 0.3);
}

@media (max-width: 768px) {
    .license-hero {
        padding: 80px 20px;
    }
    
    .license-hero h1 {
        font-size: 32px;
    }
    
    .license-hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .license-card.single-card {
        padding: 30px 20px;
    }
    
    .license-features {
        grid-template-columns: 1fr;
    }
    
    .license-card-icon i {
        font-size: 50px;
    }
    
    .license-card-content h2 {
        font-size: 28px;
    }
    
    .license-card-content p {
        font-size: 16px;
    }
    
    .faq-header h2 {
        font-size: 28px;
    }
    
    .faq-header p {
        font-size: 16px;
    }
    
    .license-cta h2 {
        font-size: 28px;
    }
    
    .license-cta p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-cta, .cta-button {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .license-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-icon {
        margin-bottom: 15px;
    }
    
    .feature-icon i {
        font-size: 20px;
    }
}

