/* PHP Encryption Platform - Frontend Styles */

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

body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    color: #333;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    line-height: 60px;
    height: 60px;
}
.header .logo a {
    font-size: 20px;
    font-weight: bold;
    color: #1e9fff;
    text-decoration: none;
}
.header .nav { list-style: none; display: flex; justify-content: center; }
.header .nav li { margin: 0 15px; }
.header .nav a { color: #666; text-decoration: none; font-size: 14px; }
.header .nav a:hover { color: #1e9fff; }
.header .user-nav { text-align: right; font-size: 14px; }
.header .user-nav a { color: #666; margin-left: 15px; text-decoration: none; }
.header .user-nav a:hover { color: #1e9fff; }

/* Footer */
.footer {
    background: #2f363c;
    color: #999;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    font-size: 13px;
    line-height: 1.8;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1e9fff 0%, #5fb878 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}
.hero h1 { font-size: 42px; margin-bottom: 15px; }
.hero p { font-size: 18px; opacity: 0.9; margin-bottom: 30px; }
.hero .hero-actions .el-button { margin: 0 10px; }

/* Features */
.features { margin-top: -40px; }
.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}
.feature-box h3 { margin-bottom: 10px; color: #333; }
.feature-box p { color: #666; font-size: 14px; line-height: 1.8; }

/* Auth */
.auth-box {
    max-width: 400px;
    margin: 60px auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.auth-box h2 { text-align: center; margin-bottom: 30px; }
.auth-links { text-align: center; margin-top: 20px; }
.auth-links a { color: #1e9fff; margin: 0 10px; text-decoration: none; font-size: 14px; }

/* Member */
.member-header {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Result */
.result-box {
    max-width: 500px;
    margin: 60px auto;
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Encrypt page */
.encrypt-box {
    max-width: 700px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.encrypt-box h2 { text-align: center; margin-bottom: 30px; }
.fee-info {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    text-align: center;
    font-size: 16px;
}

/* Main container */
.main-container { min-height: calc(100vh - 220px); }

/* Price */
.price-section { margin: 40px auto; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 14px; }
    .header .nav { display: none; }
    .auth-box { margin: 20px; padding: 20px; }
    .encrypt-box { margin: 20px; padding: 20px; }
}
