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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 520px;
}

.back-link {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.back-link:hover {
    color: #333;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.card-top-bar {
    height: 6px;
    background: linear-gradient(90deg, #00a8e8 0%, #0099d6 100%);
}

.card-content {
    padding: 48px 56px 56px;
}

.header-badge {
    display: inline-block;
    background: #e3f2fd;
    color: #0288d1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.logo {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: #00a8e8;
}

.logo-packet {
    color: #333;
}

.logo-domain {
    color: #333;
}

.description {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.description strong {
    color: #333;
    font-weight: 600;
}

.input-label {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.input-field:focus {
    outline: none;
    border-color: #00a8e8;
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.1);
}

.input-field::placeholder {
    color: #aaa;
}

.help-text {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #00b4e6 0%, #0099d6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 168, 232, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.secure-text {
    color: #888;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 24px;
    margin-bottom: 20px;
}

.signup-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
}

.link {
    color: #00a8e8;
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

.divider {
    height: 1px;
    background: #e0e0e0;
    margin: 24px 0;
}

.broker-link {
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* Code verification page styles */
.code-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 32px 0;
}

.code-input {
    width: 56px;
    height: 64px;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    border: 2px solid #d0d0d0;
    border-radius: 8px;
    transition: all 0.2s;
}

.code-input:focus {
    outline: none;
    border-color: #00a8e8;
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.1);
}

/* Success page styles */
.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.success-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    text-align: center;
}

.success-description {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
    text-align: center;
}

.btn-download {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #00b4e6 0%, #0099d6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.3);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 168, 232, 0.4);
}

/* Thank you page */
.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}
