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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

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

.nav-link {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cta-btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Analysis Card */
.analysis-card {
    padding: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.analysis-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #e5e5e5;
    font-size: 0.9rem;
}

.form-input,
.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
    color: #666;
}

.submit-btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Code Preview */
.code-preview {
    padding: 0;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
    grid-column: 1 / -1;
    margin-top: 2rem;
}

.code-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.code-content {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
}

.code-block {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e5e5e5;
}

.keyword { color: #8b5cf6; }
.module { color: #3b82f6; }
.function { color: #10b981; }
.param { color: #f59e0b; }
.variable { color: #ef4444; }
.property { color: #06b6d4; }
.string { color: #84cc16; }
.comment { color: #6b7280; }

/* Services Section */
.services {
    padding: 6rem 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.service-card {
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-description {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    color: #e5e5e5;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Networks Section */
.networks {
    padding: 4rem 2rem;
}

.networks-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.network-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.network-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.network-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.network-name {
    font-weight: 500;
    color: #e5e5e5;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 1;
}

.footer-description {
    color: #a0a0a0;
    margin-top: 0.5rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}



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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .networks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .services,
    .networks {
        padding: 3rem 1rem;
    }
    
    .networks-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 1rem;
    }
}


/* Enhanced Mobile Responsiveness */

/* Touch-friendly interactions */
@media (max-width: 768px) {
    /* Increase touch targets */
    .nav-link,
    .cta-btn,
    .lang-btn,
    .submit-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile navigation improvements */
    .nav-container {
        position: relative;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 0 20px 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin-bottom: 1rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
    
    /* Mobile hero adjustments */
    .hero {
        padding: 6rem 1rem 2rem;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Mobile form improvements */
    .analysis-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-input,
    .form-select {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
    
    /* Mobile code preview */
    .code-preview {
        margin: 2rem 1rem 0;
    }
    
    .code-content {
        padding: 1rem;
        overflow-x: auto;
    }
    
    .code-block {
        font-size: 0.8rem;
        white-space: pre;
    }
    
    /* Mobile services section */
    .services {
        padding: 4rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    /* Mobile networks section */
    .networks {
        padding: 3rem 1rem;
    }
    
    .networks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .network-item {
        padding: 1rem;
    }
    
    .network-icon {
        font-size: 1.5rem;
    }
    
    .network-name {
        font-size: 0.9rem;
    }
    
    /* Mobile footer */
    .footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        font-size: 0.8rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .analysis-card {
        margin: 0 0.5rem;
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    .networks-grid {
        grid-template-columns: 1fr;
    }
    
    .network-item {
        padding: 1.5rem 1rem;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 4rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .services,
    .networks {
        padding: 3rem 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .glass-card {
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
    }
    
    .header {
        backdrop-filter: blur(25px);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark mode support (system preference) */
@media (prefers-color-scheme: dark) {
    /* Already optimized for dark mode */
}

/* Print styles */
@media print {
    .header,
    .footer,
    .mobile-menu-btn,
    .cta-btn,
    .submit-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .glass-card {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }
    
    .hero-title,
    .section-title {
        color: black;
    }
}


/* Hash Input Container */
.hash-input-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.hash-input-container .form-input {
    flex: 1;
}

.add-hash-btn {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-hash-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}

#additional-hashes {
    margin-top: 0.5rem;
}

.additional-hash-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.remove-hash-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-hash-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
    transform: scale(1.05);
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.popup-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.popup-close {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #ffffff;
}

.popup-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.popup-body p {
    color: #e5e5e5;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.popup-body strong {
    color: #ffffff;
}

/* Language Toggle Styles */
.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* CTA Button as Link */
.cta-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Popup Adjustments */
@media (max-width: 768px) {
    .popup-overlay {
        padding: 1rem;
    }
    
    .popup-content {
        max-height: 90vh;
    }
    
    .popup-header {
        padding: 1rem 1.5rem;
    }
    
    .popup-header h3 {
        font-size: 1.2rem;
    }
    
    .popup-body {
        padding: 1.5rem;
    }
    
    .hash-input-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .add-hash-btn {
        width: 100%;
        height: 44px;
        margin-top: 0.5rem;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: rgba(239, 68, 68, 0.9);
}

/* Scrollbar Styles for Popup */
.popup-body::-webkit-scrollbar {
    width: 6px;
}

.popup-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.popup-body::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 3px;
}

.popup-body::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}


/* Wallet Input Container */
.wallet-input-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.wallet-input-container .form-input {
    flex: 1;
}

.add-wallet-btn {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-wallet-btn:hover {
    background: rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.5);
    transform: scale(1.05);
}

#additional-wallets {
    margin-top: 0.5rem;
}

.additional-wallet-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.remove-wallet-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-wallet-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
    transform: scale(1.05);
}

/* Form Textarea */
.form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 80px;
}

.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-textarea::placeholder {
    color: #666;
}

/* Signature Styles - Realistic handwritten look */
.signature {
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.signature:hover {
    transform: scale(1.05);
}

.signature-svg {
    width: 250px;
    height: 80px;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 1px 3px rgba(30, 58, 138, 0.4));
    transition: all 0.3s ease;
}

.signature:hover .signature-svg {
    filter: drop-shadow(0 2px 6px rgba(30, 58, 138, 0.6));
    transform: scale(1.02);
}

.signature-name {
    font-family: 'Kalam', cursive;
    font-size: 1.2rem;
    font-weight: 400;
    color: #a0a0a0;
    display: block;
    text-align: center;
    margin-top: 0.5rem;
}

/* Expert Popup Styles */
.expert-popup {
    max-width: 800px;
    max-height: 90vh;
}

.expert-body {
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.expert-photo {
    flex-shrink: 0;
    width: 200px;
}

.expert-photo img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.expert-info {
    flex: 1;
}

.expert-info h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.expert-title {
    font-size: 1.1rem;
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.expert-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-section h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.8rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    padding-bottom: 0.3rem;
}

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

.detail-section li {
    color: #e5e5e5;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

/* Load Kalam font for signature */
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');

/* Mobile adjustments for expert popup */
@media (max-width: 768px) {
    .expert-popup {
        max-width: 95vw;
        margin: 1rem;
    }
    
    .expert-body {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .expert-photo {
        width: 150px;
        align-self: center;
    }
    
    .expert-info h4 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .expert-title {
        text-align: center;
    }
    
    .signature-svg {
        width: 200px;
        height: 64px;
    }
    
    .signature-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .expert-body {
        padding: 1rem;
    }
    
    .expert-photo {
        width: 120px;
    }
    
    .expert-info h4 {
        font-size: 1.3rem;
    }
    
    .detail-section h5 {
        font-size: 1rem;
    }
    
    .signature-svg {
        width: 180px;
        height: 58px;
    }
}

/* Mobile adjustments for new elements */
@media (max-width: 768px) {
    .wallet-input-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .add-wallet-btn {
        width: 100%;
        height: 44px;
        margin-top: 0.5rem;
    }
    
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 100px;
    }
    
    .signature-text {
        font-size: 2rem;
    }
    
    .additional-wallet-input {
        flex-direction: column;
        align-items: stretch;
    }
    
    .remove-wallet-btn {
        width: 100%;
        height: 44px;
        margin-top: 0.5rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .signature-text {
        font-size: 1.8rem;
    }
    
    .form-textarea {
        padding: 0.8rem;
    }
}


/* Logo styles */
.logo-image {
    height: 40px;
    width: auto;
    margin-right: 0.75rem;
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #e5e5e5;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    transform: translateX(5px);
}

/* Partners carousel styles */
.partners {
    padding: 4rem 0;
    background: rgba(15, 23, 42, 0.3);
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.partners h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 3rem;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    animation: slideCarousel 10s infinite linear;
}

.partner-logo {
    flex-shrink: 0;
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

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

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo-image {
        height: 28px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(15, 23, 42, 0.9);
        border-radius: 0;
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(59, 130, 246, 0.2);
        margin-top: 0.5rem;
    }
    
    .carousel {
        gap: 2rem;
        flex-wrap: wrap;
        animation: none;
    }
    
    .partner-logo {
        height: 40px;
    }
}


/* Expert popup updates for two experts */
.experts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.expert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.expert-card .expert-photo {
    width: 150px;
    margin-bottom: 1rem;
}

.expert-card .expert-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.expert-card .expert-title {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.expert-card .expert-details {
    text-align: left;
}

.expert-card .detail-section {
    margin-bottom: 1rem;
}

.expert-card .detail-section h5 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.expert-card .detail-section li {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.certifications-section {
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    padding-top: 1.5rem;
    text-align: center;
}

.certifications-section h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.certifications-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert-badge {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Mobile adjustments for expert popup */
@media (max-width: 768px) {
    .experts-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expert-card .expert-photo {
        width: 120px;
    }
    
    .expert-card .expert-info h4 {
        font-size: 1.2rem;
    }
    
    .certifications-grid {
        gap: 0.5rem;
    }
    
    .cert-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}


/* Footer logo styles */
.footer-logo {
    margin-bottom: 1rem;
    cursor: pointer;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-image {
    transform: scale(1.05);
    filter: brightness(0) invert(1);
}

/* Expert popup improvements */
.expert-popup {
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
}

.experts-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.expert-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.expert-card .expert-photo {
    width: 140px;
    margin-bottom: 1rem;
}

.expert-card .expert-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.expert-card .expert-title {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #3b82f6;
}

.expert-card .expert-details {
    text-align: left;
    width: 100%;
}

.expert-card .detail-section {
    margin-bottom: 1.2rem;
}

.expert-card .detail-section h5 {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    padding-bottom: 0.2rem;
}

.expert-card .detail-section li {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    color: #e5e5e5;
    line-height: 1.4;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .logo-image {
        height: 32px;
        margin-right: 0.5rem;
    }
    
    .footer-logo-image {
        height: 50px;
    }
    
    .experts-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .expert-card {
        padding: 1rem;
    }
    
    .expert-card .expert-photo {
        width: 120px;
    }
    
    .expert-card .expert-info h4 {
        font-size: 1.2rem;
    }
    
    .expert-card .expert-title {
        font-size: 0.9rem;
    }
    
    .partner-logo {
        height: 40px;
    }
    
    .carousel {
        gap: 2rem;
        animation: none;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 28px;
    }
    
    .footer-logo-image {
        height: 40px;
    }
    
    .expert-card .expert-photo {
        width: 100px;
    }
    
    .expert-card .expert-info h4 {
        font-size: 1.1rem;
    }
    
    .partner-logo {
        height: 35px;
    }
}


/* Footer styles updated */
.footer {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 1;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #3b82f6;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.85rem;
    margin: 0;
}

/* Mobile footer adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-links a {
        padding: 0.25rem 0;
    }
}


.footer {
    background-color: #000; /* cor de fundo opcional */
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo-image {
    height: 60px; /* ajuste conforme seu layout */
    display: block;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}



