/* SecretDrop3 EdgeOne国内版样式 */

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

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #48bb78;
    --error-color: #f56565;
    --warning-color: #ed8936;
    --text-color: #2d3748;
    --text-light: #4a5568;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
}

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

/* 头部样式 */
header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.version {
    font-size: 0.9rem;
    opacity: 0.7;
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* 主内容区域 */
main {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

/* 英雄区域 */
.hero {
    text-align: center;
    margin-bottom: 50px;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 15px;
}

.powered-by {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 功能特性网格 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.feature {
    text-align: center;
    padding: 25px;
    border-radius: var(--border-radius);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.feature.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature p {
    color: var(--text-light);
    font-size: 1rem;
}

/* 统计信息 */
.stats {
    text-align: center;
    margin-bottom: 50px;
}

.stat-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    display: inline-block;
    min-width: 400px;
}

.stat-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.stat-box p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

#message-count {
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--accent-color);
}

.guarantee {
    font-size: 0.95rem;
    opacity: 0.9;
    font-style: italic;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 180px;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-debug {
    background: linear-gradient(135deg, var(--warning-color), #dd6b20);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

/* 操作按钮区域 */
.actions {
    text-align: center;
    margin-bottom: 50px;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 定价网格 */
.pricing {
    margin-bottom: 50px;
}

.pricing h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.price-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
}

.price-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.price-card ul {
    list-style: none;
    text-align: left;
}

.price-card li {
    padding: 5px 0;
    color: var(--text-light);
}

.price-card li:before {
    content: "✓ ";
    color: var(--success-color);
    font-weight: bold;
}

/* 技术信息 */
.tech-info {
    margin-bottom: 40px;
}

.tech-info h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tech-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.tech-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.tech-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 页脚 */
footer {
    text-align: center;
    margin-top: 40px;
    color: white;
    opacity: 0.9;
}

.tech-footer {
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.7;
}

.tech-footer span {
    margin: 0 5px;
}

/* 表单样式 */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 文件上传 */
.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.file-upload:hover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
}

.file-upload input[type="file"] {
    display: none;
}

/* 警告框 */
.alert {
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    border-left: 4px solid;
}

.alert-success {
    background: #f0fff4;
    border-color: var(--success-color);
    color: #22543d;
}

.alert-error {
    background: #fed7d7;
    border-color: var(--error-color);
    color: #742a2a;
}

.alert-info {
    background: #ebf8ff;
    border-color: var(--primary-color);
    color: #2a4365;
}

/* 代码显示 */
.code-display {
    background: var(--text-color);
    color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    margin: 15px 0;
    word-break: break-all;
}

/* 动画 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    main {
        padding: 25px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .stat-box {
        min-width: auto;
        width: 100%;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .price-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}