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

:root {
    --bg-primary: #121212;
    --bg-secondary: #1a1a1a;
    --bg-card: #1e1e1e;
    --bg-input: #252525;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent: #4a9eff;
    --accent-dim: #3a7ecc;
    --accent-hover: #5aafff;
    --gradient-1: #4a9eff;
    --gradient-2: #6a5acd;
    --gradient-3: #4a9eff;
    --success: #4ade80;
    --error: #ef4444;
    --warning: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

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

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-1);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-2);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--gradient-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(-50px, -30px) scale(1.05);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    cursor: pointer;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.title-main {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--gradient-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.floating-card {
    position: relative;
    width: 300px;
    height: 300px;
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.card-glow {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3));
    border-radius: 30px;
    filter: blur(40px);
    opacity: 0.5;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.card-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sections */
section {
    padding: 6rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--text-primary), var(--gradient-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

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

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Download */
.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.download-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.pricing-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--gradient-1);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.2);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--gradient-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* Payment Info */
.payment-info {
    max-width: 900px;
    margin: 3rem auto 0;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.payment-info-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.payment-info-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.crypto-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.crypto-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.crypto-info-label {
    color: var(--text-primary);
    font-weight: 600;
}

.crypto-info-address {
    background: var(--bg-input);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    word-break: break-all;
    color: var(--warning);
    max-width: 100%;
}

.payment-info-note {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .crypto-info-address {
        font-size: 0.75rem;
    }
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Nav Button */
.nav-btn {
    padding: 0.6rem 1.5rem !important;
    background: var(--accent) !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
    border-radius: 6px;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-btn:hover {
    background: var(--accent-hover) !important;
    color: white !important;
    -webkit-text-fill-color: white !important;
    transform: translateY(-1px);
}

/* Hidden */
.hidden {
    display: none !important;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 400px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.3s ease;
}

.modal-content.payment-content {
    max-width: 500px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

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

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

.error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
    min-height: 1.2rem;
}

.btn-full {
    width: 100%;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Payment Modal */
#payment-details {
    background: var(--bg-input);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.payment-plan, .payment-amount {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.payment-plan span, .payment-amount span {
    color: var(--text-primary);
    font-weight: 600;
}

/* Crypto Tabs */
.crypto-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.crypto-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crypto-tab:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.crypto-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.crypto-payment {
    margin-bottom: 1rem;
}

.crypto-payment.hidden {
    display: none;
}

.crypto-address-container {
    background: var(--bg-input);
    border-radius: 8px;
    padding: 1.25rem;
}

.crypto-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.crypto-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--warning);
    margin-bottom: 1rem;
}

.crypto-address {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.crypto-address code {
    flex: 1;
    background: var(--bg-primary);
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
    word-break: break-all;
    color: var(--text-primary);
}

.crypto-note {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1rem;
}

/* Legacy BTC styles (keep for compatibility) */
.payment-method {
    margin-bottom: 1.5rem;
}

.payment-method h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.btc-address-container {
    background: var(--bg-input);
    border-radius: 8px;
    padding: 1.25rem;
}

.btc-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.btc-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--warning);
    margin-bottom: 1rem;
}

.btc-address {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.btc-address code {
    flex: 1;
    background: var(--bg-primary);
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    word-break: break-all;
    color: var(--text-primary);
}

.copy-btn {
    padding: 0.75rem 1rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s ease;
}

.copy-btn:hover {
    background: var(--accent-hover);
}

.btc-note {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-style: italic;
}

.payment-actions {
    text-align: center;
}

.payment-contact {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Dashboard */
.dashboard {
    min-height: 100vh;
    padding-top: 4rem;
}

.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 4rem);
}

/* Sidebar */
.dashboard-sidebar {
    width: 260px;
    background: var(--bg-card);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 4rem;
    left: 0;
    height: calc(100vh - 4rem);
    z-index: 50;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header h2 {
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.sidebar-user {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.sidebar-user span {
    color: var(--accent);
    font-weight: 500;
}

.sidebar-nav {
    list-style: none;
    padding: 1rem 0;
    flex: 1;
}

.sidebar-nav li {
    margin: 0.25rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.sidebar-link.active {
    color: var(--accent);
    background: rgba(74, 158, 255, 0.1);
    border-left-color: var(--accent);
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dashboard Main Content */
.dashboard-main {
    flex: 1;
    margin-left: 260px;
    padding: 2rem 3rem;
    max-width: calc(100% - 260px);
}

.dashboard-tab {
    display: none;
}

.dashboard-tab.active {
    display: block;
}

.tab-header {
    margin-bottom: 2rem;
}

.tab-header h1 {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.tab-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tab-content {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
}

.dash-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.dash-info p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.dash-info .label {
    color: var(--text-secondary);
}

.dash-info span:not(.label) {
    color: var(--text-primary);
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status.active {
    background: rgba(74, 222, 128, 0.1);
    color: var(--success);
}

.status.expired {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.status.inactive {
    background: rgba(136, 136, 136, 0.1);
    color: var(--text-secondary);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.download-note, .license-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
}

.license-note.success {
    color: var(--success);
}

.license-note.error {
    color: var(--error);
}

.license-input-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.license-input-group input {
    flex: 1;
    padding: 0.75rem;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.license-input-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.license-input-group .btn {
    padding: 0.75rem 1.25rem;
}

#download-loader-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Danger Card */
.danger-card {
    border-color: rgba(239, 68, 68, 0.3);
}

.danger-card h3 {
    color: var(--error) !important;
}

.btn-danger {
    background: transparent;
    border: 1px solid var(--error);
    color: var(--error);
}

.btn-danger:hover {
    background: var(--error);
    color: white;
}

/* Form inputs in dashboard */
.dash-card .form-group {
    margin-bottom: 0.75rem;
}

.dash-card .form-group input {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.dash-card .form-group input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Delete confirmation modal */
.confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.confirm-modal.active {
    display: flex;
}

.confirm-content {
    background: var(--bg-card);
    border: 1px solid var(--error);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    text-align: center;
}

.confirm-content h3 {
    color: var(--error);
    margin-bottom: 1rem;
}

.confirm-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.confirm-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.confirm-buttons .btn {
    min-width: 100px;
}

/* Subscription Card */
.subscription-status-card {
    text-align: center;
    padding: 2rem;
}

.subscription-badge {
    margin: 1rem 0;
}

.subscription-badge .status {
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
}

/* Download Card */
.download-card-main {
    text-align: center;
    padding: 2.5rem;
}

.download-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.download-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.version-info {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.requirements-list p {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirements-list p:last-child {
    border-bottom: none;
}

.requirements-list p::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-visual {
        order: -1;
    }

    .floating-card {
        width: 200px;
        height: 200px;
    }

    .card-icon {
        font-size: 5rem;
    }

    .title-main {
        font-size: 2.5rem;
    }

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

    .nav-links {
        display: none;
    }

    /* Dashboard Mobile */
    .dashboard-layout {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .sidebar-nav {
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .sidebar-nav li {
        margin: 0;
    }

    .sidebar-link {
        padding: 0.75rem 1rem;
        border-left: none;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
        font-size: 0.85rem;
    }

    .sidebar-link.active {
        border-left-color: transparent;
        border-bottom-color: var(--accent);
    }

    .sidebar-footer {
        display: none;
    }

    .dashboard-main {
        margin-left: 0;
        padding: 1rem;
        max-width: 100%;
    }

    .tab-content {
        max-width: 100%;
    }

    .license-input-group {
        flex-direction: column;
    }

    .modal-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .sidebar-link svg {
        display: none;
    }
}

/* Custom Popup Modal */
.popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

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

.popup-content {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: rgba(74, 158, 255, 0.1);
}

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

.popup-icon.warning {
    background: rgba(245, 158, 11, 0.1);
}

.popup-icon.warning svg {
    color: var(--warning);
}

.popup-icon.danger {
    background: rgba(239, 68, 68, 0.1);
}

.popup-icon.danger svg {
    color: var(--error);
}

.popup-icon.success {
    background: rgba(74, 222, 128, 0.1);
}

.popup-icon.success svg {
    color: var(--success);
}

.popup-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.popup-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.popup-input-wrapper {
    display: none;
    margin-bottom: 1.5rem;
}

.popup-input-wrapper.visible {
    display: block;
}

.popup-input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    text-align: center;
}

.popup-input-wrapper input:focus {
    outline: none;
    border-color: var(--accent);
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.popup-buttons .btn {
    min-width: 100px;
    padding: 0.75rem 1.5rem;
}

.popup-buttons.single {
    justify-content: center;
}

.popup-buttons.single .btn:first-child {
    display: none;
}

/* Payment Info Box (BTCPay) */
.payment-info-box {
    background: var(--bg-input);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-info-box .payment-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.payment-info-box .payment-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.payment-info-box h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.payment-info-box > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.payment-features {
    list-style: none;
    text-align: left;
    margin: 1rem 0 0;
}

.payment-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

#proceed-payment-btn {
    margin-top: 1rem;
}

/* Hide number input spinners/arrows */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}
