/* AWS风格UI样式 */

/* AWS Hero Section */
.aws-hero {
    background: linear-gradient(135deg, #232f3e 0%, #161f2d 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.aws-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
    z-index: 1;
}

.aws-hero .container {
    position: relative;
    z-index: 2;
}

.aws-hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.aws-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 600px;
}

.aws-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* AWS Hero Visual */
.aws-hero-visual {
    position: relative;
    height: 400px;
}

.aws-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.aws-card {
    position: absolute;
    width: 200px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

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

.aws-card-1 {
    top: 0;
    left: 10%;
    transform: rotate(-5deg);
    z-index: 4;
}

.aws-card-2 {
    top: 50px;
    left: 35%;
    transform: rotate(3deg);
    z-index: 3;
}

.aws-card-3 {
    top: 120px;
    left: 60%;
    transform: rotate(-2deg);
    z-index: 2;
}

.aws-card-4 {
    top: 30px;
    left: 80%;
    transform: rotate(5deg);
    z-index: 1;
}

.aws-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-bottom: 12px;
    font-size: 18px;
}

.aws-card-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #232f3e;
}

.aws-card-content p {
    font-size: 14px;
    color: #5f6368;
    margin: 0;
}

/* AWS Services Section */
.aws-services {
    padding: 80px 0;
    background: white;
}

.aws-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.aws-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #232f3e;
    margin-bottom: 16px;
}

.aws-section-subtitle {
    font-size: 1.25rem;
    color: #5f6368;
    max-width: 700px;
    margin: 0 auto;
}

.aws-services-grid {
    row-gap: 24px;
}

.aws-service-card {
    background: white;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.aws-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.aws-service-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-2);
}

.aws-service-card:hover::before {
    transform: scaleY(1);
}

.aws-service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 24px;
}

.aws-service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #232f3e;
    margin-bottom: 12px;
}

.aws-service-description {
    font-size: 1rem;
    color: #5f6368;
    margin-bottom: 20px;
    line-height: 1.5;
}

.aws-service-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.aws-service-link:hover {
    color: var(--primary-color-dark);
}

.aws-service-link i {
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.aws-service-link:hover i {
    transform: translateX(3px);
}

/* AWS Pricing Section */
.aws-pricing {
    padding: 80px 0;
    background: #f8f9fa;
}

.aws-pricing-cards {
    row-gap: 30px;
}

.aws-pricing-card {
    background: white;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

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

.aws-pricing-popular {
    border: 2px solid var(--primary-color);
    position: relative;
}

.aws-pricing-ribbon {
    position: absolute;
    top: 12px;
    right: -30px;
    transform: rotate(45deg);
    background: var(--primary-color);
    color: white;
    padding: 5px 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.aws-pricing-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #e1e4e8;
}

.aws-pricing-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #232f3e;
    margin-bottom: 16px;
}

.aws-pricing-price {
    margin-bottom: 8px;
}

.aws-currency {
    font-size: 1rem;
    vertical-align: top;
    position: relative;
    top: 12px;
    margin-right: 2px;
}

.aws-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #232f3e;
    line-height: 1;
}

.aws-period {
    font-size: 1rem;
    color: #5f6368;
    margin-left: 4px;
}

.aws-pricing-features {
    padding: 30px;
    flex-grow: 1;
}

.aws-pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aws-pricing-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #5f6368;
}

.aws-pricing-features li i {
    color: var(--success-color);
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 3px;
}

.aws-pricing-footer {
    padding: 30px;
    text-align: center;
}

.aws-current-plan {
    display: inline-block;
    padding: 10px 20px;
    background: #e8f0fe;
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 500;
}

/* AWS Models Section */
.aws-models {
    padding: 80px 0;
    background: white;
}

.aws-model-grid {
    row-gap: 30px;
}

.aws-model-card {
    background: white;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.aws-model-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.aws-model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.aws-model-card:hover .aws-model-image img {
    transform: scale(1.05);
}

.aws-model-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.aws-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.aws-badge-vip {
    background: #fbbc05;
    color: #202124;
}

.aws-badge-cloud {
    background: var(--success-color);
    color: white;
}

.aws-model-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.aws-model-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.aws-model-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #232f3e;
    margin-bottom: 12px;
}

.aws-model-description {
    font-size: 1rem;
    color: #5f6368;
    margin-bottom: 16px;
    line-height: 1.5;
    flex-grow: 1;
}

.aws-model-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.aws-model-stat {
    font-size: 14px;
    color: #5f6368;
    display: flex;
    align-items: center;
}

.aws-model-stat i {
    margin-right: 4px;
}

.aws-model-footer {
    margin-top: auto;
}

/* AWS Featured Section */
.aws-featured {
    padding: 80px 0;
    background: #f8f9fa;
}

.aws-featured-slider {
    margin-top: 40px;
}

.aws-featured-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow-2);
    transition: all 0.3s ease;
}

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

.aws-featured-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.aws-featured-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #232f3e;
    margin-bottom: 12px;
}

.aws-featured-description {
    font-size: 1rem;
    color: #5f6368;
    margin-bottom: 20px;
    line-height: 1.5;
}

.aws-featured-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.aws-featured-stat {
    font-size: 14px;
    color: #5f6368;
    display: flex;
    align-items: center;
}

.aws-featured-stat i {
    margin-right: 8px;
}

/* AWS Features Section */
.aws-features {
    padding: 80px 0;
    background: white;
}

.aws-features-grid {
    row-gap: 40px;
}

.aws-feature {
    text-align: center;
    max-width: 340px;
    margin: 0 auto;
}

.aws-feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 24px;
    font-size: 32px;
}

.aws-feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #232f3e;
    margin-bottom: 16px;
}

.aws-feature-description {
    font-size: 1rem;
    color: #5f6368;
    line-height: 1.6;
}

/* AWS CTA Section */
.aws-cta {
    background: linear-gradient(135deg, #232f3e 0%, #161f2d 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.aws-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.aws-cta-description {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 32px;
}

.aws-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* AWS Empty State */
.aws-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.aws-empty-icon {
    font-size: 48px;
    color: #5f6368;
    margin-bottom: 16px;
}

.aws-empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #232f3e;
    margin-bottom: 8px;
}

.aws-empty-description {
    font-size: 1rem;
    color: #5f6368;
    max-width: 500px;
    margin: 0 auto;
}

/* AWS Buttons */
.aws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.aws-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.3);
}

.aws-btn-primary {
    background: var(--primary-color);
    color: white;
}

.aws-btn-primary:hover {
    background: var(--primary-color-dark);
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}

.aws-btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.aws-btn-secondary:hover {
    background: rgba(26, 115, 232, 0.05);
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.2);
}

/* AWS Links */
.aws-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.aws-link:hover {
    color: var(--primary-color-dark);
}

.aws-link i {
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.aws-link:hover i {
    transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .aws-hero {
        padding: 60px 0;
    }
    
    .aws-hero-title {
        font-size: 2.5rem;
    }
    
    .aws-hero-visual {
        height: 300px;
        margin-top: 40px;
    }
    
    .aws-card {
        width: 160px;
        padding: 16px;
    }
    
    .aws-card-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .aws-card-content h4 {
        font-size: 14px;
    }
    
    .aws-card-content p {
        font-size: 12px;
    }
    
    .aws-section-title {
        font-size: 2rem;
    }
    
    .aws-services, .aws-pricing, .aws-models, .aws-featured, .aws-features, .aws-cta {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .aws-hero {
        padding: 40px 0;
    }
    
    .aws-hero-title {
        font-size: 2rem;
    }
    
    .aws-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .aws-hero-visual {
        height: 250px;
    }
    
    .aws-card {
        width: 140px;
        padding: 12px;
    }
    
    .aws-card-1 {
        top: 0;
        left: 5%;
    }
    
    .aws-card-2 {
        top: 40px;
        left: 30%;
    }
    
    .aws-card-3 {
        top: 80px;
        left: 55%;
    }
    
    .aws-card-4 {
        top: 20px;
        left: 75%;
    }
    
    .aws-section-title {
        font-size: 1.75rem;
    }
    
    .aws-section-subtitle {
        font-size: 1.1rem;
    }
    
    .aws-services, .aws-pricing, .aws-models, .aws-featured, .aws-features, .aws-cta {
        padding: 40px 0;
    }
    
    .aws-service-card, .aws-pricing-card, .aws-model-card {
        margin-bottom: 20px;
    }
    
    .aws-cta-title {
        font-size: 2rem;
    }
    
    .aws-cta-description {
        font-size: 1.1rem;
    }
    
    .aws-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
/* 登录界面样式 */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-3);
    width: 100%;
    max-width: 420px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--info-color));
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 16px;
    color: #5f6368;
    margin: 0;
}

.login-form .form-group {
    margin-bottom: 24px;
}

.login-form .form-label {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
    margin-bottom: 8px;
    display: block;
}

.login-form .input-group {
    position: relative;
}

.login-form .input-group-text {
    background: #f1f3f4;
    border: 1px solid #dadce0;
    border-right: none;
    color: #5f6368;
    padding: 0 16px;
    border-radius: 4px 0 0 4px;
}

.login-form .form-control {
    border: 1px solid #dadce0;
    border-left: none;
    border-radius: 0 4px 4px 0;
    padding: 12px 16px;
    font-size: 16px;
    height: 48px;
    transition: var(--transition);
}

.login-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
    outline: none;
}

.login-form .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #5f6368;
    z-index: 10;
}

.login-form .toggle-password:hover {
    color: #202124;
}

.login-form .form-check {
    margin-bottom: 24px;
}

.login-form .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.login-form .form-check-label {
    font-size: 14px;
    color: #202124;
}

.login-attempts {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--error-color);
    margin-bottom: 16px;
    padding: 12px;
    background: #fce8e6;
    border-radius: 4px;
}

.login-attempts i {
    margin-right: 8px;
}

.attempts-count {
    font-weight: 600;
}

.login-form .btn-block {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    height: 48px;
}

.login-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 14px;
    color: #5f6368;
}

.login-footer p {
    margin: 8px 0;
}

.login-footer a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* 警告提示样式 */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.alert-danger {
    background-color: #fce8e6;
    color: var(--error-color);
    border: 1px solid #f1aeb5;
}

.alert-danger i {
    margin-right: 12px;
    font-size: 18px;
}

.alert .btn-close {
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: none;
    color: inherit;
    opacity: 0.7;
}

.alert .btn-close:hover {
    opacity: 1;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .login-card {
        padding: 24px;
    }
    
    .login-title {
        font-size: 20px;
    }
    
    .login-subtitle {
        font-size: 14px;
    }
    
    .login-logo {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
}

/* 模型信息区块样式 */
.model-info-section {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border-left: none;
}

.model-info-title {
    font-size: 16px;
    font-weight: 600;
    color: #202124;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
}

.model-info-title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 3px;
    margin-right: 8px;
}

.model-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.model-info-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.model-info-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.model-info-tag.primary {
    background-color: var(--primary-color);
    color: white;
}

.model-info-tag.secondary {
    background-color: #6c757d;
    color: white;
}

.model-info-tag.accent {
    background-color: var(--accent-color);
    color: white;
}

.model-info-tag.success {
    background-color: var(--success-color);
    color: white;
}

.model-info-tag.warning {
    background-color: var(--warning-color);
    color: white;
}

.model-info-tag.info {
    background-color: var(--info-color);
    color: white;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .model-info-section {
        padding: 0;
    }
    
    .model-info-title {
        font-size: 15px;
    }
    
    .model-info-tag {
        font-size: 12px;
        padding: 5px 10px;
    }
}
