:root{--primary-color:#4A90E2;--secondary-color:#6BB6FF;--accent-color:#FFB74D;--background-color:#F5F7FA;--card-background:#FFFFFF;--text-primary:#2C3E50;--text-secondary:#7F8C8D;--border-radius:12px;--shadow:0 4px 20px rgba(74,144,226,0.1);--gradient-bg:linear-gradient(135deg,#667eea 0%,#764ba2 100%)}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;min-height:100vh;color:var(--text-primary);position:relative;overflow-x:hidden}#app{opacity:0;transition:opacity 0.3s ease}#app.loaded{opacity:1}.entrance-effect{position:fixed;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle at center,rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.7) 30%,transparent 70%);z-index:9999;pointer-events:none;opacity:0;transform:scale(0);animation:entranceExpand 2s ease-out forwards}@keyframes entranceExpand{0%{opacity:1;transform:scale(0)}50%{opacity:0.8;transform:scale(2)}100%{opacity:0;transform:scale(4)}}body.login-page{background:url('../images/139649.jpg') center center;background-size:cover;background-attachment:fixed}body.login-page::before{content:'';position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.3);z-index:-1}body.logged-in{background-size:cover;background-position:center center;background-attachment:fixed}body.logged-in::before{content:'';position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.2);z-index:-1}@media (max-width:768px){body.login-page,body.logged-in{background-attachment:scroll;background-position:center top}}.navbar{background:rgba(255,255,255,0.95);backdrop-filter:blur(20px);border-bottom:1px solid rgba(74,144,226,0.1);position:fixed;top:0;left:0;right:0;z-index:1000;padding:0 2rem;height:70px}.nav-container{display:flex;justify-content:space-between;align-items:center;height:100%;max-width:1200px;margin:0 auto}.nav-logo{font-size:1.5rem;font-weight:700;color:var(--primary-color);display:flex;align-items:center;gap:1rem}.domain-status{font-size:0.8rem;padding:0.2rem 0.6rem;border-radius:20px;font-weight:500}.domain-status.legacy{background:rgba(255,183,77,0.2);color:#E67E22}.domain-status.new{background:rgba(46,204,113,0.2);color:#27AE60}.domain-status.proxy{background:rgba(155,89,182,0.2);color:#8E44AD}.nav-menu{display:flex;gap:2rem;align-items:center}.nav-menu a{color:var(--text-primary);text-decoration:none;font-weight:500;transition:color 0.3s ease;position:relative}.nav-menu a:hover,.nav-menu a.active{color:var(--primary-color)}.nav-menu a.active::after{content:'';position:absolute;bottom:-8px;left:0;right:0;height:2px;background:var(--primary-color);border-radius:1px}.main-content{margin-top:70px;padding:2rem;max-width:1200px;margin-left:auto;margin-right:auto}.card{background:var(--card-background);border-radius:var(--border-radius);box-shadow:var(--shadow);padding:2rem;margin-bottom:2rem;backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.2)}.welcome-card{text-align:center;background:linear-gradient(135deg,rgba(74,144,226,0.1) 0%,rgba(107,182,255,0.1) 100%)}.welcome-card h2{color:var(--primary-color);margin-bottom:0.5rem;font-size:2rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-bottom:2rem}.stat-card{text-align:center}.stat-card h3{color:var(--primary-color);margin-bottom:1rem;font-size:1.2rem}.progress-bar{width:100%;height:8px;background:rgba(74,144,226,0.1);border-radius:4px;margin:1rem 0;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,var(--primary-color),var(--secondary-color));border-radius:4px;transition:width 0.3s ease}.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:2rem}.auth-card{width:100%;max-width:450px;background:rgba(255,255,255,0.95);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.3)}.auth-header{text-align:center;margin-bottom:2rem}.auth-header h2{color:var(--primary-color);margin-bottom:0.5rem;font-size:1.8rem}.auth-tabs{display:flex;margin-bottom:2rem;border-radius:8px;overflow:hidden;background:rgba(74,144,226,0.1)}.auth-tab{flex:1;padding:1rem;border:none;background:transparent;color:var(--text-secondary);font-weight:500;cursor:pointer;transition:all 0.3s ease}.auth-tab.active{background:var(--primary-color);color:white}.auth-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:0.5rem}.form-label{font-weight:500;color:var(--text-primary);font-size:0.9rem}.form-input{padding:1rem;border:2px solid rgba(74,144,226,0.1);border-radius:8px;font-size:1rem;transition:border-color 0.3s ease;background:rgba(255,255,255,0.8)}.form-input:focus{outline:none;border-color:var(--primary-color)}.verify-code-group{display:flex;gap:0.5rem}.verify-code-group .form-input{flex:1}.verify-btn{padding:1rem 1.5rem;white-space:nowrap;font-size:0.9rem}.btn{background:var(--primary-color);color:white;border:none;padding:1rem 2rem;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all 0.3s ease;display:flex;align-items:center;justify-content:center;gap:0.5rem}.btn:hover:not(:disabled){background:var(--secondary-color);transform:translateY(-2px)}.btn:disabled{opacity:0.6;cursor:not-allowed;transform:none}.btn-secondary{background:var(--accent-color)}.btn-secondary:hover:not(:disabled){background:#FF9800}/* Mobile Navigation Toggle Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    color: var(--primary-color);
    font-size: 1.8rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.nav-toggle:hover {
    background: rgba(74,144,226,0.1);
    border-radius: 8px;
}
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
}.subscription-url{display:flex;gap:0.5rem;flex-wrap:wrap}.subscription-url .form-input{flex:1;min-width:300px}.subscription-url .btn{white-space:nowrap}@media (max-width:768px){.subscription-url{flex-direction:column}.subscription-url .form-input{min-width:auto}}.loading{width:16px;height:16px;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-message{background:rgba(231,76,60,0.1);color:#E74C3C;padding:1rem;border-radius:8px;border-left:4px solid #E74C3C;margin-bottom:1rem}.success-message{background:rgba(46,204,113,0.1);color:#27AE60;padding:1rem;border-radius:8px;border-left:4px solid #27AE60;margin-bottom:1rem}.notice-card{background:rgba(74,144,226,0.05);border-left:4px solid var(--primary-color);padding:1rem;border-radius:8px;margin-bottom:1rem}.notice-title{font-weight:600;color:var(--primary-color);margin-bottom:0.5rem}.notice-content{color:var(--text-secondary);line-height:1.6}/* Additional mobile styles for forms and buttons */
@media (max-width:768px){.form-input,.form-textarea{font-size:16px}.btn{padding:0.75rem 1.5rem;min-height:44px}.subscription-url{gap:0.75rem}.subscription-url .btn{flex:0 0 auto;padding:0.75rem 1rem}.stats-grid{gap:1rem}.plan-hero{padding:3rem 1rem}.log-controls{flex-direction:column;align-items:stretch;gap:1rem}.log-controls select{width:100%!important}.table-container{margin:0 -1rem;padding:0 1rem;overflow-x:auto;-webkit-overflow-scrolling:touch}.traffic-log-table{min-width:600px}.pagination{flex-wrap:wrap;gap:0.5rem}.pagination button{flex:1 1 auto;min-width:80px}}

/* Plan页面全新样式 */
.plan-hero{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:white;padding:4rem 2rem;text-align:center;margin:-2rem -2rem 3rem -2rem}.hero-content h1{font-size:3rem;margin-bottom:1rem;font-weight:700}.hero-subtitle{font-size:1.3rem;opacity:0.9;margin-bottom:3rem;max-width:600px;margin-left:auto;margin-right:auto}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;max-width:800px;margin:0 auto}.feature-item{text-align:center}.feature-icon{font-size:3rem;margin-bottom:1rem}.feature-item h3{font-size:1.2rem;margin-bottom:0.5rem;font-weight:600}.feature-item p{opacity:0.8;font-size:0.9rem}.plans-container{max-width:1200px;margin:0 auto}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:2rem;padding:0 1rem}.plan-card{background:white;border-radius:16px;overflow:hidden;box-shadow:0 8px 32px rgba(0,0,0,0.1);transition:all 0.3s ease;position:relative;border:2px solid transparent}.plan-card:hover{transform:translateY(-8px);box-shadow:0 16px 48px rgba(0,0,0,0.15)}.plan-featured{border-color:var(--primary-color);transform:scale(1.02)}.plan-featured:hover{transform:scale(1.02) translateY(-8px)}.plan-badge{position:absolute;top:-1px;right:20px;background:linear-gradient(135deg,var(--primary-color),var(--accent-color));color:white;padding:8px 20px;border-radius:0 0 12px 12px;font-size:0.85rem;font-weight:600;z-index:10}.plan-content{padding:2rem}.plan-header{text-align:center;margin-bottom:2rem}.plan-icon{font-size:4rem;margin-bottom:1rem}.plan-title{font-size:1.8rem;color:var(--primary-color);margin-bottom:0.5rem;font-weight:700}.plan-desc{color:var(--text-secondary);font-size:1rem}.plan-price{text-align:center;margin-bottom:2rem}.price-main{display:flex;align-items:baseline;justify-content:center;margin-bottom:0.5rem}.price-symbol{font-size:1.5rem;color:var(--text-secondary)}.price-value{font-size:4rem;font-weight:800;color:var(--primary-color);margin:0 0.5rem}.price-unit{font-size:1.2rem;color:var(--text-secondary)}.price-note{color:var(--accent-color);font-weight:600;font-size:1rem}.plan-quota{text-align:center;padding:1.5rem;background:linear-gradient(135deg,rgba(74,144,226,0.1),rgba(255,183,77,0.1));border-radius:12px;margin-bottom:2rem}.quota-value{font-size:2.5rem;font-weight:700;color:var(--primary-color);margin-bottom:0.5rem}.quota-label{color:var(--text-secondary);font-size:0.9rem}.plan-features{margin-bottom:2rem}.features-title{font-size:1.1rem;font-weight:600;color:var(--primary-color);margin-bottom:1rem}.features-list{space-y:0.5rem}.feature{display:flex;align-items:center;padding:0.75rem 0;border-bottom:1px solid #f0f0f0}.feature:last-child{border-bottom:none}.feature-check{width:20px;height:20px;background:var(--primary-color);color:white;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:0.8rem;font-weight:bold;margin-right:1rem;flex-shrink:0}.plan-action{text-align:center}.plan-btn{width:100%;padding:1rem 2rem;background:linear-gradient(135deg,var(--primary-color),var(--accent-color));color:white;border:none;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all 0.3s ease}.plan-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 24px rgba(74,144,226,0.3)}.plan-btn:disabled{opacity:0.7;cursor:not-allowed;transform:none}.action-note{margin-top:1rem;color:var(--text-secondary);font-size:0.9rem}

/* Log页面样式 */
.log-controls{display:flex;align-items:center;gap:1rem}.table-container{overflow-x:auto;border-radius:8px;border:1px solid #eee}.traffic-log-table{width:100%;border-collapse:collapse;background:white}.traffic-log-table th{background:linear-gradient(135deg,var(--primary-color),var(--accent-color));color:white;padding:1rem;text-align:left;font-weight:600;font-size:0.9rem}.traffic-log-table td{padding:1rem;border-bottom:1px solid #f0f0f0}.traffic-log-table tr:hover{background:#f8f9fa}.traffic-log-table tr.highlight-row{background:linear-gradient(135deg,rgba(74,144,226,0.1),rgba(255,183,77,0.1))}.date-cell{display:flex;flex-direction:column}.date-main{font-weight:600;color:var(--text-primary)}.date-weekday{font-size:0.8rem;color:var(--text-secondary)}.traffic-cell{display:flex;align-items:center;gap:0.5rem}.traffic-cell.upload{color:#27AE60}.traffic-cell.download{color:#3498DB}.traffic-cell.total{color:var(--primary-color);font-weight:600}.traffic-cell.billing{color:var(--accent-color);font-weight:600}.traffic-icon{font-size:1.1rem}.rate-cell{padding:0.5rem 1rem;border-radius:20px;text-align:center;font-weight:bold;font-size:0.9rem}.rate-low{background:#d4edda;color:#155724}.rate-medium{background:#fff3cd;color:#856404}.rate-high{background:#f8d7da;color:#721c24}.pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:2rem;padding:1rem}.page-info{color:var(--text-secondary);font-weight:500}.empty-state{text-align:center;padding:3rem;color:var(--text-secondary)}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h3{color:var(--primary-color);margin-bottom:1rem}.stat-value{font-size:2rem;font-weight:bold;color:var(--primary-color);margin:1rem 0}.stat-detail{color:var(--text-secondary);font-size:0.9rem}.stat-detail span{display:block;margin:0.2rem 0}

/* Clash导入样式 */
.clash-import-section{background:linear-gradient(135deg,rgba(255,107,107,0.1),rgba(255,142,83,0.1));padding:1.5rem;border-radius:12px;border:2px solid rgba(255,107,107,0.2)}.clash-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:1rem}.btn-clash{background:linear-gradient(135deg,#FF6B6B,#FF8E53);border:none;color:white;font-weight:bold;transition:all 0.3s ease}.btn-clash:hover:not(:disabled){background:linear-gradient(135deg,#FF5252,#FF7043);transform:translateY(-2px);box-shadow:0 8px 20px rgba(255,107,107,0.4)}.btn-clash:disabled{opacity:0.6;transform:none;box-shadow:none}.clash-info{background:rgba(255,255,255,0.8);padding:1rem;border-radius:8px;border-left:4px solid #FF6B6B}.manual-import-section{background:rgba(74,144,226,0.05);padding:1.5rem;border-radius:8px;border:1px solid rgba(74,144,226,0.2)}.manual-info{background:rgba(255,255,255,0.9);padding:1rem;border-radius:8px;border-left:4px solid var(--primary-color)}.clash-options input[type="radio"]{margin-right:0.5rem}

/* Invite页面样式 */
.invite-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin: -2rem -2rem 3rem -2rem;
    border-radius: 0 0 20px 20px;
}
.invite-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.invite-stats-hero {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.stats-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}
.stats-icon {
    font-size: 2.5rem;
}
.stats-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}
.stats-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.no-invite-section {
    text-align: center;
    padding: 3rem 2rem;
}
.empty-invite-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.no-invite-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.no-invite-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.btn-create-invite {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-create-invite:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74,144,226,0.3);
}
.btn-create-invite:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.invite-codes-section {
    padding: 1rem 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.section-header h3 {
    color: var(--primary-color);
    margin: 0;
}
.invite-codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.invite-code-card {
    background: linear-gradient(135deg, rgba(74,144,226,0.05), rgba(255,183,77,0.05));
    border: 2px solid rgba(74,144,226,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.invite-code-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74,144,226,0.15);
    border-color: rgba(74,144,226,0.3);
}
.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.code-icon {
    font-size: 1.5rem;
}
.code-status {
    background: rgba(46,204,113,0.2);
    color: #27AE60;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.code-content {
    margin-bottom: 1.5rem;
}
.code-value {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    background: rgba(255,255,255,0.8);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.code-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.code-actions {
    display: flex;
    gap: 0.75rem;
}
.btn-copy, .btn-share {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-copy {
    background: var(--primary-color);
    color: white;
}
.btn-copy:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}
.btn-share {
    background: var(--accent-color);
    color: white;
}
.btn-share:hover {
    background: #FF9800;
    transform: translateY(-1px);
}

.guide-section {
    margin-bottom: 2rem;
}
.guide-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.guide-steps {
    display: grid;
    gap: 1.5rem;
}
.guide-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.step-number {
    background: var(--primary-color);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}
.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.notice-section {
    padding: 1.5rem;
    background: rgba(255,183,77,0.1);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}
.notice-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}
.notice-list {
    display: grid;
    gap: 0.75rem;
}
.notice-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.notice-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Help页面样式 */
.ticket-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.ticket-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}
.ticket-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}
.ticket-table tr:hover {
    background: #f8f9fa;
}
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-badge.status-open {
    background: rgba(255,183,77,0.2);
    color: #E67E22;
}
.status-badge.status-replied {
    background: rgba(46,204,113,0.2);
    color: #27AE60;
}
.status-badge.status-closed {
    background: rgba(149,165,166,0.2);
    color: #7F8C8D;
}
.ticket-actions {
    display: flex;
    gap: 0.5rem;
}
.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}
.btn-danger {
    background: #E74C3C;
}
.btn-danger:hover:not(:disabled) {
    background: #C0392B;
}
.ticket-detail {
    padding: 1rem 0;
}
.ticket-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}
.chat-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.chat-message {
    margin-bottom: 1rem;
    display: flex;
}
.chat-message.user {
    justify-content: flex-end;
}
.chat-message.admin {
    justify-content: flex-start;
}
.message-bubble {
    max-width: 70%;
    padding: 1rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.chat-message.user .message-bubble {
    background: var(--primary-color);
    color: white;
}
.message-sender {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}
.chat-input-container {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}
.chat-input-group {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}
.chat-input {
    flex: 1;
    min-height: 80px;
    resize: vertical;
}
.form-textarea {
    padding: 1rem;
    border: 2px solid rgba(74,144,226,0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: rgba(255,255,255,0.8);
    font-family: inherit;
}
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .invite-hero {
        padding: 2rem 1rem;
        margin: -1rem -1rem 2rem -1rem;
    }
    .invite-hero h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .invite-stats-hero {
        flex-direction: column;
        gap: 1rem;
    }
    .stats-item {
        flex-direction: row;
        justify-content: center;
    }
    .invite-codes-grid {
        grid-template-columns: 1fr;
    }
    .code-actions {
        flex-direction: column;
    }
    .guide-steps {
        gap: 1rem;
    }
    .guide-step {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }
    .nav-container {
        position: relative;
    }
    .nav-menu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
        gap: 0.5rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1000;
    }
    .nav-menu.active {
        display: flex !important;
    }
    .nav-menu a {
        padding: 1rem 1.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-size: 1rem;
        text-align: left;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(74,144,226,0.1);
    }
    .nav-menu a.active::after {
        display: none;
    }
    .main-content {
        padding: 1rem;
        margin-top: 70px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .auth-container {
        padding: 1rem;
    }
    .card {
        padding: 1.5rem;
    }
    .auth-card {
        max-width: 100%;
    }
    .plan-hero {
        padding: 2rem 1rem;
        margin: -1rem -1rem 2rem -1rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .features-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 1.5rem;
    }
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    .plan-featured {
        transform: none;
    }
    .plan-featured:hover {
        transform: translateY(-8px);
    }
    .plan-content {
        padding: 1.5rem;
    }
    .plan-icon {
        font-size: 3rem;
    }
    .plan-title {
        font-size: 1.5rem;
    }
    .price-value {
        font-size: 3rem;
    }
    .quota-value {
        font-size: 2rem;
    }
}
