/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3AC79B;
    --primary-dark: #2EA77B;
    --secondary-color: #6C63FF;
    --accent-color: #FF6B6B;
    --text-color: #2D3436;
    --text-light: #636E72;
    --bg-color: #FFFFFF;
    --card-bg: #FFFFFF;
    --header-bg: rgba(255, 255, 255, 0.95);
    --shadow-color: rgba(58, 199, 155, 0.15);
    --border-color: #E9ECEF;
    --hover-bg: #F1F3F5;
    --select-bg: #F8F9FA;
    --select-hover: #E9ECEF;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #8A84FF 100%);
}

[data-theme="dark"] {
    --primary-color: #4CD9B1;
    --primary-dark: #3AC79B;
    --secondary-color: #8A84FF;
    --accent-color: #FF8585;
    --text-color: #F8F9FA;
    --text-light: #ADB5BD;
    --bg-color: #1A1A1A;
    --card-bg: #2D2D2D;
    --header-bg: rgba(45, 45, 45, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --border-color: #404040;
    --hover-bg: #3D3D3D;
    --select-bg: #2D2D2D;
    --select-hover: #3D3D3D;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    overflow-x: hidden;
}

/* Enhanced Header and Navigation */
header {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px var(--shadow-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.mobile-menu-button {
    display: none !important;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.primary-button {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.secondary-button {
    background: var(--gradient-secondary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 32px var(--shadow-color);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Supported Currencies Section */
.supported-currencies {
    padding: 4rem 2rem;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.supported-currencies::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.supported-currencies h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.currencies-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.currency-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
    transition: all 0.3s ease;
}

.currency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.currency-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.currency-flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.currency-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

.currency-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.currency-card ul {
    list-style: none;
    padding: 0;
}

.currency-card ul li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.currency-card ul li:before {
    content: "•";
    color: var(--primary-color);
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 2rem;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Security Features Section */
.security-features {
    padding: 4rem 2rem;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.security-features::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.security-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.security-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.security-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
    transition: all 0.3s ease;
    text-align: center;
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.security-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.security-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.security-card p {
    color: var(--text-light);
}

/* Partners Section */
.partners {
    padding: 4rem 2rem;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.partners h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.partners-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.partner-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px var(--shadow-color);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 250px;
    margin: 0 auto;
    aspect-ratio: 1;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.partner-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo {
    transform: scale(1.05);
}

/* Mobile Responsiveness for Partners Section */
@media (max-width: 768px) {
    .partners {
        padding: 3rem 1rem;
    }

    .partners h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

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

    .partner-card {
        padding: 1rem;
        max-width: 160px;
    }
}

/* CTA Section */
.cta-section {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.1;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.25rem;
    opacity: 0.9;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
}

.cta-section .primary-button {
    background: white;
    color: var(--primary-color);
}

.cta-section .secondary-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 2px 10px var(--shadow-color);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1rem 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

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

/* Dark Mode Button */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.theme-toggle:hover {
    transform: rotate(15deg);
    box-shadow: 0 6px 20px var(--shadow-color);
}

/* Mobile Responsiveness for Theme Toggle */
@media (max-width: 768px) {
    .theme-toggle {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Rate Checker Section */
.currency-rate-selector {
    padding: 4rem 2rem;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.rate-selector-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.rate-selector-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 24px var(--shadow-color);
}

.rate-selector-container h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
}

.rate-selector-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rate-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.custom-select {
    position: relative;
    width: 100%;
}

.select-selected {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-selected:hover {
    border-color: var(--primary-color);
}

.select-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 24px var(--shadow-color);
}

.select-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.select-item:hover {
    background: var(--hover-bg);
}

.select-hide {
    display: none;
}

.swap-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--shadow-color);
    margin: 0.5rem auto;
}

.swap-button:hover {
    transform: rotate(180deg);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.rate-display {
    text-align: center;
    padding: 1.5rem;
    background: var(--input-bg);
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.rate-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    display: block;
}

.rate-update {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
    margin-top: 0.5rem;
}

.rate-selector-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.exchange-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .rate-selector-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rate-selector-container {
        padding: 1.5rem;
    }

    .rate-selector-container h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .select-selected {
        padding: 0.75rem;
    }

    .select-item {
        padding: 0.75rem;
    }

    .rate-value {
        font-size: 1.25rem;
    }

    .exchange-image {
        max-width: 80%;
    }
}

/* Scrollbar Styling */
.select-items::-webkit-scrollbar {
    width: 6px;
}

.select-items::-webkit-scrollbar-track {
    background: var(--input-bg);
    border-radius: 3px;
}

.select-items::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.select-items::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.testimonial-swiper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
    margin: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info h4 {
    color: var(--text-color);
    margin: 0;
}

.user-info p {
    color: var(--text-light);
    margin: 0;
}

.trade-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.trade-stats span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer Styles */
footer {
    background: var(--card-bg);
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--select-bg);
    color: var(--text-color);
}

.newsletter-form button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

/* Page-specific Hero Sections */
.about-hero,
.contact-hero,
.faq-hero,
.privacy-hero {
    padding: 8rem 2rem 4rem;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before,
.contact-hero::before,
.faq-hero::before,
.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.1;
}

.about-hero-content,
.contact-hero-content,
.faq-hero-content,
.privacy-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero h1,
.contact-hero h1,
.faq-hero h1,
.privacy-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero p,
.contact-hero p,
.faq-hero p,
.privacy-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* FAQ Styles */
.faq-categories {
    padding: 4rem 2rem;
    background: var(--bg-color);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-button {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.tab-button.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.tab-button i {
    font-size: 1.2rem;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px var(--shadow-color);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--hover-bg);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--card-bg);
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 1000px;
}

.faq-answer p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.faq-answer ul {
    list-style: none;
    padding-left: 1rem;
}

.faq-answer ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.faq-answer ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Contact Page Styles */
.contact-info {
    padding: 4rem 2rem;
    background: var(--bg-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.info-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-light);
}

.contact-form {
    padding: 4rem 2rem;
    background: var(--bg-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--shadow-color);
}

/* Privacy Policy Styles */
.privacy-content {
    padding: 4rem 2rem;
    background: var(--bg-color);
}

.privacy-section {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.privacy-section h2 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.privacy-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.privacy-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.privacy-section ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.privacy-section ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.privacy-subsection {
    margin-bottom: 2rem;
}

.privacy-subsection h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Global Dark Mode Styles */
[data-theme="dark"] {
    --primary-color: #4CD9B1;
    --primary-dark: #3AC79B;
    --secondary-color: #8A84FF;
    --accent-color: #FF8585;
    --text-color: #F8F9FA;
    --text-light: #ADB5BD;
    --bg-color: #1A1A1A;
    --card-bg: #2D2D2D;
    --header-bg: rgba(45, 45, 45, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --border-color: #404040;
    --hover-bg: #3D3D3D;
    --select-bg: #2D2D2D;
    --select-hover: #3D3D3D;
}

/* About Us Page Styles */
.about-mission {
    padding: 4rem 2rem;
    background: var(--bg-color);
}

.about-mission .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-mission h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-mission p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-values {
    padding: 4rem 2rem;
    background: var(--bg-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
}

.about-story {
    padding: 4rem 2rem;
    background: var(--bg-color);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.story-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
}

.about-team {
    padding: 4rem 2rem;
    background: var(--bg-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.team-member h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-cta {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
}

.about-cta .container {
    max-width: 800px;
    margin: 0 auto;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-cta p {
    margin-bottom: 2rem;
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Contact FAQ Section */
.contact-faq {
    padding: 4rem 2rem;
    background: var(--bg-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
}

.faq-item h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ CTA Section */
.faq-cta {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.faq-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.1;
}

.faq-cta .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.faq-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.faq-cta p {
    margin-bottom: 2rem;
    font-size: 1.25rem;
    opacity: 0.9;
}

.faq-cta .primary-button {
    background: white;
    color: var(--primary-color);
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-image {
        order: -1;
    }

    .about-hero h1,
    .contact-hero h1,
    .faq-hero h1,
    .privacy-hero h1 {
        font-size: 2.5rem;
    }

    .about-cta h2,
    .faq-cta h2 {
        font-size: 2rem;
    }
}

/* Enhanced Section Backgrounds */
.about-mission,
.about-values,
.about-story,
.about-team,
.contact-info,
.contact-form,
.contact-faq,
.faq-categories,
.privacy-content,
.features,
.supported-currencies,
.how-it-works,
.security-features,
.testimonials {
    position: relative;
    overflow: hidden;
}

.about-mission::before,
.about-values::before,
.about-story::before,
.about-team::before,
.contact-info::before,
.contact-form::before,
.contact-faq::before,
.faq-categories::before,
.privacy-content::before,
.features::before,
.supported-currencies::before,
.how-it-works::before,
.security-features::before,
.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.about-mission::after,
.about-values::after,
.about-story::after,
.about-team::after,
.contact-info::after,
.contact-form::after,
.contact-faq::after,
.faq-categories::after,
.privacy-content::after,
.features::after,
.supported-currencies::after,
.how-it-works::after,
.security-features::after,
.testimonials::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

/* Enhanced Pattern Backgrounds */
.pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 0;
}

/* Ensure content is above backgrounds */
.container,
.info-grid,
.form-group,
.faq-grid,
.values-grid,
.team-grid,
.story-content,
.features-grid,
.currencies-grid,
.security-grid,
.testimonial-swiper {
    position: relative;
    z-index: 1;
}

/* Mobile Menu Fix */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: var(--text-color);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 2px 10px var(--shadow-color);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }
}

.swap-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.swap-button:hover {
    transform: rotate(180deg);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.swap-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.swap-button:hover i {
    transform: scale(1.1);
}

.rate-display {
    text-align: center;
    padding: 1rem;
    background: var(--input-bg);
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.rate-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.rate-update {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.25rem;
}

/* Mobile Responsiveness for Exchange Button */
@media (max-width: 768px) {
    .swap-button {
        width: 36px;
        height: 36px;
        margin: 0.5rem 0;
    }

    .swap-button i {
        font-size: 1rem;
    }
}

/* Deposit Methods Section */
.deposit-methods {
    padding: 4rem 2rem;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.deposit-methods::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.deposit-methods h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    position: relative;
}

.deposit-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.deposit-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px var(--shadow-color);
    transition: all 0.3s ease;
    text-align: center;
}

.deposit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.deposit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.deposit-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.deposit-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.deposit-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.deposit-card ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.deposit-card ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Mobile Responsiveness for Deposit Methods */
@media (max-width: 768px) {
    .deposit-methods {
        padding: 3rem 1rem;
    }

    .deposit-methods h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .deposit-card {
        padding: 1.5rem;
    }

    .deposit-card i {
        font-size: 2rem;
    }

    .deposit-card h3 {
        font-size: 1.2rem;
    }
} 