/* FastChange.cc - Cryptocurrency Exchange Landing */
/* Light theme, modern design */

:root {
    --primary: #00c9a7;
    --primary-dark: #00a88a;
    --secondary: #6c757d;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --white: #ffffff;
    --border: #e9ecef;
    --text: #2d3436;
    --text-muted: #636e72;
    --gradient: linear-gradient(135deg, #00c9a7 0%, #00a3ff 100%);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 201, 167, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p { margin-bottom: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover { color: var(--primary-dark); }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

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

.nav-links a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 201, 167, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 201, 167, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.badge svg {
    width: 16px;
    height: 16px;
}

/* Exchange Widget */
.exchange-widget {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    max-width: 450px;
    margin: 0 auto;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.widget-tab {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: none;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.widget-tab.active {
    background: var(--primary);
    color: var(--white);
}

.exchange-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    position: relative;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.currency-input {
    display: flex;
    align-items: center;
    background: var(--light);
    border-radius: 12px;
    padding: 1rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.currency-input:focus-within {
    border-color: var(--primary);
}

.currency-input input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    font-weight: 600;
    outline: none;
    color: var(--dark);
}

.currency-input input::placeholder {
    color: var(--text-muted);
}

.currency-select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    min-width: 120px;
}

.currency-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

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

.swap-btn:hover {
    transform: rotate(180deg);
    background: var(--primary-dark);
}

.exchange-rate {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(0, 201, 167, 0.05);
    border-radius: 8px;
    font-size: 0.875rem;
}

.exchange-rate span:first-child {
    color: var(--text-muted);
}

.exchange-rate span:last-child {
    font-weight: 600;
    color: var(--dark);
}

/* Rate display with commission */
.exchange-rate.rate-display {
    background: rgba(0, 201, 167, 0.12);
    padding: 1.25rem 1rem;
    border: 1px solid rgba(0, 201, 167, 0.2);
}

.exchange-rate.rate-display span:last-child {
    font-size: 1.125rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.exchange-rate.rate-display .rate-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
    margin-top: 0.25rem;
}

/* Commission badges */
.commission-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.commission-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 201, 167, 0.1);
    color: var(--primary-dark);
}

.commission-badge.card {
    background: rgba(255, 193, 7, 0.15);
    color: #b38600;
}

.commission-badge.wallet {
    background: rgba(108, 117, 125, 0.15);
    color: var(--secondary);
}

/* Live prices ticker */
.prices-ticker {
    background: var(--dark);
    padding: 0.75rem 0;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: 3rem;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.875rem;
}

.ticker-item img {
    width: 20px;
    height: 20px;
}

.ticker-item .price {
    font-weight: 600;
}

.ticker-item .change {
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

.ticker-item .change.up {
    background: rgba(0, 201, 167, 0.2);
    color: var(--primary);
}

.ticker-item .change.down {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Exchange type selector */
.exchange-type-info {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 201, 167, 0.05);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}

.exchange-type-info strong {
    color: var(--primary-dark);
}

.exchange-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exchange-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background: var(--light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

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

.step h3 {
    margin-bottom: 0.75rem;
}

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

/* Supported Coins */
.supported-coins {
    padding: 5rem 0;
    background: var(--white);
}

.coins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.coin-card {
    background: var(--light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--dark);
}

.coin-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--dark);
}

.coin-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
}

.coin-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.coin-card span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: var(--light);
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
}

.faq-question svg {
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: var(--gradient);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary-dark);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: var(--shadow);
    }

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

    .mobile-menu {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .exchange-widget {
        margin-top: 2rem;
    }

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Page-specific hero */
.page-hero {
    padding: 7rem 0 3rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.coin-hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.coin-hero-icon img {
    width: 100%;
    height: 100%;
}

/* Rate badge */
.rate-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 201, 167, 0.1);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

/* Trust indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}
