.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: transparent;
    backdrop-filter: blur(12px);
}

.nav-logo {
    height: 32px;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #A0A0A0;
    text-decoration: none;
    border-radius: 999px;
    transition:
        color 0.22s ease,
        background-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.nav-links a:hover {
    color: #FFFFFF;
}

.nav-links a.active {
    color: #FFFFFF;
    background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.12), transparent 55%),
                rgba(24, 24, 32, 0.96);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(12px);
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-ghost {
    color: #A0A0A0;
    background: #1A1A1E;
    border: none;
}

.btn-ghost:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
    background: linear-gradient(135deg, #33CCFF 0%, #0099FF 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(51, 204, 255, 0.4), 0 0 0 0 rgba(51, 204, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(51, 204, 255, 0.6), 0 0 20px rgba(51, 204, 255, 0.4);
    background: linear-gradient(135deg, #44DDFF 0%, #00AAFF 100%);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(51, 204, 255, 0.4);
}

/* Currency converter */
.currency-converter {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(16, 19, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(67, 255, 173, 0.2);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: all 0.3s ease;
    max-width: 300px;
    width: 100%;
}

.currency-converter:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(67, 255, 173, 0.2);
    border-color: rgba(67, 255, 173, 0.4);
}

.currency-converter h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: white;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.currency-converter h3 i {
    color: var(--accent, #3ac5ff);
    margin-right: 8px;
}

.converter-form select {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    margin-bottom: 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.converter-form select:hover,
.converter-form select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--accent, #3ac5ff);
    outline: none;
}

.converter-form select option {
    background-color: #10131a;
    color: white;
}

.result {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.result span {
    color: var(--accent, #3ac5ff);
    font-weight: 600;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

.hero-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.footer {
    border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    padding: 3rem 1.5rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted, #a1a1aa);
    max-width: 280px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted, #a1a1aa);
    margin-bottom: 0.75rem;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted, #a1a1aa);
    display: block;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text, #f4f4f5);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    font-size: 0.85rem;
    color: var(--text-muted, #a1a1aa);
}
