:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --gray-color: #6b7280;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-brand i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.nav-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.nav-item.active {
    background-color: var(--primary-color);
    color: white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

/* Features */
.features {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Code Block */
.code-block {
    background: #1e293b;
    color: #e2e8f0;
    padding: 2rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 2rem 0;
}

.code-block pre {
    margin: 0;
}

/* Pricing */
.pricing {
    padding: 4rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    text-align: center;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--dark-color);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--gray-color);
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.features-list i {
    margin-right: 0.5rem;
}

.features-list .fa-check {
    color: var(--success-color);
}

.features-list .fa-times {
    color: var(--danger-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--dark-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.main-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.api-key-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.api-key-table th,
.api-key-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.api-key-table th {
    background-color: var(--light-color);
    font-weight: 600;
}

.api-key {
    font-family: monospace;
    background-color: var(--light-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.status-active {
    color: var(--success-color);
    font-weight: 600;
}

.status-inactive {
    color: var(--danger-color);
    font-weight: 600;
}

/* Lookup Page */
.lookup-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.lookup-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.lookup-input {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
}

.result-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.result-item {
    display: flex;
    flex-direction: column;
}

.result-label {
    font-size: 0.875rem;
    color: var(--gray-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.result-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}
/* User dropdown styles */
.nav-user-dropdown {
    position: relative;
    display: inline-block;
}

.nav-user-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.nav-user-btn:hover {
    background: var(--primary-dark);
}

.nav-user-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
    margin-top: 8px;
}

.nav-user-dropdown:hover .nav-user-dropdown-content {
    display: block;
}

.nav-user-dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-user-dropdown-content a:hover {
    background: #f5f5f5;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

/* Mobile menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: white;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mobile-menu.show {
    display: block;
}

.mobile-nav-item {
    display: block;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.mobile-nav-divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-user-dropdown-content {
        position: static;
        box-shadow: none;
        border: 1px solid #eee;
    }
}
/* Enterprise Card - White & Blue Theme */
.enterprise-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    margin-top: 40px;
    border: 2px solid #e0e7ff;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.enterprise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.15);
    border-color: #3b82f6;
}

.enterprise-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.enterprise-header {
    text-align: center;
    margin-bottom: 30px;
}

.enterprise-header i {
    font-size: 52px;
    color: #3b82f6;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.enterprise-header h3 {
    color: #1e40af;
    font-size: 32px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.enterprise-subtitle {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

.enterprise-content {
    text-align: center;
    margin-bottom: 30px;
}

.enterprise-price {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    border-radius: 12px;
    border: 1px solid #dbeafe;
}

.price-amount {
    color: #1e40af;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.price-label {
    color: #4b5563;
    font-size: 16px;
    font-weight: 500;
}

.enterprise-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.enterprise-features li {
    color: #374151;
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
}

.enterprise-features li:last-child {
    border-bottom: none;
}

.enterprise-features i {
    color: #3b82f6;
    margin-right: 12px;
    font-size: 18px;
    min-width: 24px;
}

.enterprise-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.btn-enterprise {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 16px 45px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-enterprise:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: white;
}

.enterprise-contact {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.enterprise-contact i {
    color: #3b82f6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .enterprise-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .enterprise-card {
        padding: 30px 20px;
    }
    
    .enterprise-header h3 {
        font-size: 28px;
    }
    
    .price-amount {
        font-size: 42px;
    }
}
/* Prezzi BTC */
.btc-price {
    font-size: 0.9rem;
    color: #0931ff;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Pulsante Bitcoin */
.btn-buy {
    background: linear-gradient(135deg, #5c90c5 0%, #0691ff 100%);
    border: none;
    color: white;
}

.btn-buy:hover {
    background: linear-gradient(135deg, #5c90c5 0%, #0691ff 100%);
    color: white;
    transform: translateY(-2px);
}

/* Sezione piani annuali */
.yearly-plans {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid #eaeaea;
}

.yearly-plans h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.yearly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.yearly-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    text-align: center;
    transition: transform 0.3s ease;
}

.yearly-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.yearly-card h4 {
    color: #333;
    margin-bottom: 10px;
}

.yearly-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
}

.yearly-card .price span {
    font-size: 1rem;
    color: #7f8c8d;
}

/* Modal pagamento BTC */
#btcPaymentModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.btc-modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.btc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.btc-modal-header h3 {
    margin: 0;
    color: #333;
}

.btc-close {
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.btc-close:hover {
    color: #333;
}

.btc-address-container {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #eaeaea;
}

.btc-address-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.btc-address {
    font-family: monospace;
    font-size: 1.1rem;
    word-break: break-all;
    color: #f7931a;
    font-weight: 600;
}

.btc-qr-container {
    text-align: center;
    margin: 20px 0;
}

#btcQrCode {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: white;
    padding: 10px;
    border-radius: 5px;
}

.btc-amount {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f7931a;
    margin: 15px 0;
}

.btc-timer {
    text-align: center;
    font-size: 1rem;
    color: #e74c3c;
    margin: 10px 0;
}

.btc-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.copy-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-btn:hover {
    background: #2980b9;
}

.copy-btn.success {
    background: #27ae60;
}

.copy-btn.error {
    background: #e74c3c;
}