/* Key Guide Page Styles */

main {
    padding-top: 100px;
    min-height: 100vh;
    padding-bottom: 80px;
}

.guide-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: var(--success);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.success-badge i {
    font-size: 14px;
}

.page-header h1 {
    font-family: 'Segoe UI Black', sans-serif;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-header h1 .gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Steps Container */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Step Card */
.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(74, 158, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.step-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.15) 0%, rgba(123, 97, 255, 0.1) 100%);
    border: 2px solid rgba(74, 158, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-color: transparent;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.4);
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Email Mockup */
.email-mockup {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.email-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.email-sender {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sender-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.sender-info {
    display: flex;
    flex-direction: column;
}

.email-title {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.email-meta {
    font-size: 12px;
    color: #777;
}

.email-time {
    font-size: 12px;
    color: #999;
}

.email-body {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.email-body p {
    margin-bottom: 8px;
}

/* License Key Section */
.license-section {
    background: rgba(255, 255, 255, 0.95);
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.license-key-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 8px;
    padding: 14px 16px;
}

.license-key-display code {
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* Info Box */
.info-box {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.08) 0%, rgba(123, 97, 255, 0.05) 100%);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.info-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 4px 0 0 4px;
}

.info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(74, 158, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.info-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.info-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 6px;
}

.info-content p:last-child {
    margin-bottom: 0;
}

/* Warning Box */
.warning-box {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.08) 0%, rgba(255, 87, 34, 0.05) 100%);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.warning-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #FF9800, #FF5722);
    border-radius: 4px 0 0 4px;
}

.warning-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(255, 152, 0, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF9800;
    font-size: 18px;
}

.warning-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.warning-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 6px;
}

.warning-content p:last-child {
    margin-bottom: 0;
}

/* Inline Link */
.inline-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.inline-link:hover {
    color: var(--accent);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding-top: 20px;
}

.cta-section p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.4);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* Completion Card */
.completion-card {
    text-align: center;
    padding: 50px 40px;
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 16px;
    position: relative;
}

.completion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--success), transparent);
    border-radius: 0 0 4px 4px;
}

.completion-icon {
    font-size: 60px;
    color: var(--success);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(0, 212, 170, 0.4));
}

.completion-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.completion-card p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Help Section */
.help-section {
    margin-top: 80px;
    text-align: center;
}

.help-section > h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.help-section > p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.help-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.help-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(74, 158, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.help-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.help-card:hover .help-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    transform: scale(1.1);
}

.help-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.help-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.help-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.help-card:hover .help-link {
    color: var(--accent);
}

.help-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.help-card:hover .help-link i {
    transform: translateX(4px);
}

/* Footer */
.footer {
    margin-top: 100px;
    padding: 60px 40px 30px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: 'Segoe UI Black', sans-serif;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Responsive */
@media (max-width: 768px) {
    .guide-container {
        padding: 0 20px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 15px;
    }

    .step-header {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin-bottom: 8px;
    }

    .step-title {
        font-size: 18px;
    }

    .email-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .license-key-display {
        flex-direction: column;
        text-align: center;
    }

    .license-key-display code {
        font-size: 12px;
        word-break: break-all;
    }

    .info-box,
    .warning-box {
        flex-direction: column;
        text-align: center;
    }

    .info-icon,
    .warning-icon {
        margin: 0 auto;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}
